Features: 1) Add CONSTANCE_SUPERUSER_ONLY setting allowing non-superusers access to Constance configuration;
Fixes:; Extra:;
This commit is contained in:
parent
515beef39d
commit
1ec8acdf4f
1 changed files with 2 additions and 0 deletions
|
|
@ -6,6 +6,8 @@ from evibes.settings.base import getenv
|
|||
|
||||
CONSTANCE_BACKEND = "constance.backends.database.DatabaseBackend" # Or "constance.backends.redis.RedisBackend"
|
||||
|
||||
CONSTANCE_SUPERUSER_ONLY = False
|
||||
|
||||
CONSTANCE_ADDITIONAL_FIELDS = {
|
||||
"json": [
|
||||
"django.forms.fields.JSONField",
|
||||
|
|
|
|||
Loading…
Reference in a new issue