Skip to content
Snippets Groups Projects
Commit 3d142d33 authored by Barnabás Czémán's avatar Barnabás Czémán
Browse files

Fix production config

parent 3bb776bc
No related branches found
No related tags found
No related merge requests found
from .base import *
DEBUG = True
DEBUG = False
ALLOWED_HOSTS = ['*']
DATABASES = {
'default': {
......@@ -12,3 +14,15 @@ DATABASES = {
'PORT': os.getenv('DB_PORT', 5432),
}
}
REST_FRAMEWORK = {
'DEFAULT_RENDERER_CLASSES': (
'rest_framework.renderers.JSONRenderer',
),
'DEFAULT_PARSER_CLASSES': (
'rest_framework.parsers.JSONParser',
)
}
STATIC_ROOT = os.path.join(BASE_DIR, 'static_collected')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment