@@ -85,15 +85,15 WSGI_APPLICATION = 'radarsys.wsgi.application' | |||||
85 |
|
85 | |||
86 | DATABASES = { |
|
86 | DATABASES = { | |
87 | 'default': { |
|
87 | 'default': { | |
88 | 'ENGINE': 'django.db.backends.sqlite3', |
|
88 | #'ENGINE': 'django.db.backends.sqlite3', | |
89 | 'NAME': os.path.join(BASE_DIR, 'radarsys.sqlite'), |
|
89 | #'NAME': os.path.join(BASE_DIR, 'radarsys.sqlite'), | |
90 |
|
|
90 | 'ENGINE': 'django.db.backends.mysql', | |
91 |
|
|
91 | 'NAME': 'radarsys', | |
92 |
|
|
92 | 'USER': 'developer', | |
93 |
|
|
93 | 'PASSWORD': 'idi2015', | |
94 |
|
|
94 | 'OPTIONS': { | |
95 |
|
|
95 | 'init_command': "SET sql_mode='STRICT_TRANS_TABLES'", | |
96 |
|
|
96 | } | |
97 | } |
|
97 | } | |
98 | } |
|
98 | } | |
99 |
|
99 | |||
@@ -117,10 +117,10 USE_TZ = False | |||||
117 | STATIC_URL = '/static/' |
|
117 | STATIC_URL = '/static/' | |
118 | STATIC_ROOT = '/var/www/html/static/' |
|
118 | STATIC_ROOT = '/var/www/html/static/' | |
119 |
|
119 | |||
120 | STATICFILES_DIRS = ( |
|
120 | #STATICFILES_DIRS = ( | |
121 | os.path.join(BASE_DIR, 'apps', 'main', 'static'), |
|
121 | # os.path.join(BASE_DIR, 'apps', 'main', 'static'), | |
122 |
|
122 | # | ||
123 | ) |
|
123 | #) | |
124 |
|
124 | |||
125 | STATICFILES_FINDERS = ( |
|
125 | STATICFILES_FINDERS = ( | |
126 | 'django.contrib.staticfiles.finders.FileSystemFinder', |
|
126 | 'django.contrib.staticfiles.finders.FileSystemFinder', |
General Comments 0
You need to be logged in to leave comments.
Login now