@@ -24,7 +24,7 SECRET_KEY = 'xshb$k5fc-+j16)cvyffj&9u__0q3$l!hieh#+tbzqg)*f^km0' | |||
|
24 | 24 | # SECURITY WARNING: don't run with debug turned on in production! |
|
25 | 25 | DEBUG = True |
|
26 | 26 | |
|
27 | ALLOWED_HOSTS = [] | |
|
27 | ALLOWED_HOSTS = ['*'] | |
|
28 | 28 | |
|
29 | 29 | # Application definition |
|
30 | 30 | |
@@ -85,13 +85,15 WSGI_APPLICATION = 'radarsys.wsgi.application' | |||
|
85 | 85 | |
|
86 | 86 | DATABASES = { |
|
87 | 87 | 'default': { |
|
88 |
'ENGINE': 'django.db.backends. |
|
|
89 | 'NAME': 'radarsys', | |
|
90 | 'USER': 'developer', | |
|
91 | 'PASSWORD': 'idi2015', | |
|
92 | 'OPTIONS': { | |
|
93 | 'init_command': "SET sql_mode='STRICT_TRANS_TABLES'", | |
|
94 | } | |
|
88 | 'ENGINE': 'django.db.backends.sqlite3', | |
|
89 | 'NAME': os.path.join(BASE_DIR, 'radarsys.sqlite'), | |
|
90 | #'ENGINE': 'django.db.backends.mysql', | |
|
91 | #'NAME': 'radarsys', | |
|
92 | #'USER': 'developer', | |
|
93 | #'PASSWORD': 'idi2015', | |
|
94 | #'OPTIONS': { | |
|
95 | # 'init_command': "SET sql_mode='STRICT_TRANS_TABLES'", | |
|
96 | # } | |
|
95 | 97 | } |
|
96 | 98 | } |
|
97 | 99 | |
@@ -138,4 +140,4 CELERY_RESULT_BACKEND = 'redis://localhost:6379' | |||
|
138 | 140 | CELERY_ACCEPT_CONTENT = ['application/json'] |
|
139 | 141 | CELERY_TASK_SERIALIZER = 'json' |
|
140 | 142 | CELERY_RESULT_SERIALIZER = 'json' |
|
141 | CELERY_TIMEZONE = 'America/Lima' No newline at end of file | |
|
143 | CELERY_TIMEZONE = 'America/Lima' |
General Comments 0
You need to be logged in to leave comments.
Login now