Add gunicorn and psycopg2 for production use
This commit is contained in:
parent
093c08a1a4
commit
24fc20d751
3 changed files with 55 additions and 1 deletions
9
lemoncurry/settings/prod.py
Normal file
9
lemoncurry/settings/prod.py
Normal file
|
@ -0,0 +1,9 @@
|
|||
from .base import *
|
||||
from .base import DATABASES
|
||||
|
||||
ALLOWED_HOSTS = ['00dani.me']
|
||||
DATABASES['default'] = {
|
||||
'ENGINE': 'django.db.backends.postgresql',
|
||||
'NAME': 'lemoncurry',
|
||||
'USER': 'lemoncurry',
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue