зеркало из https://github.com/mozilla/FlightDeck.git
devserver not recognized in prod server
This commit is contained in:
Родитель
0533569094
Коммит
11731f040e
|
@ -98,8 +98,14 @@ try:
|
|||
except:
|
||||
INSTALLED_APPS = []
|
||||
|
||||
# protect from not recognizing devserver
|
||||
try:
|
||||
import devserver
|
||||
INSTALLED_APPS.append('devserver')
|
||||
except:
|
||||
pass
|
||||
|
||||
INSTALLED_APPS.extend([
|
||||
'devserver',
|
||||
'django.contrib.admin',
|
||||
'django.contrib.auth',
|
||||
'django.contrib.contenttypes',
|
||||
|
|
Загрузка…
Ссылка в новой задаче