Fix miniconf editing - No attribute issue
Editing a miniconf, on save, the code looks in settings for ADMIN_USERNAMES, and as it does not exist, we stack-trace and 502 to the user. Add the attribute to settings.py
This commit is contained in:
parent
5cc9f81d37
commit
75c82aad37
1 changed files with 2 additions and 0 deletions
|
@ -87,6 +87,8 @@ if fail:
|
||||||
|
|
||||||
### Standard settings
|
### Standard settings
|
||||||
|
|
||||||
|
ADMIN_USERNAMES = []
|
||||||
|
|
||||||
CACHES = {
|
CACHES = {
|
||||||
'default': {
|
'default': {
|
||||||
'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
|
'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
|
||||||
|
|
Loading…
Reference in a new issue