diff --git a/galaxy_ng/app/settings.py b/galaxy_ng/app/settings.py index 2cfcb9d605..dc3b195d25 100644 --- a/galaxy_ng/app/settings.py +++ b/galaxy_ng/app/settings.py @@ -111,6 +111,7 @@ 'ansible_base.rbac', 'social_django', 'dynaconf_merge_unique', + 'flags', ] LOGGING = { @@ -131,6 +132,21 @@ "dynaconf_merge": True, } +FLAGS = {} + +TEMPLATES = [ + { + "BACKEND": "django.template.backends.django.DjangoTemplates", + "DIRS": [], + "APP_DIRS": True, + "OPTIONS": { + "context_processors": [ + "django.template.context_processors.request", + ], + }, + }, +] + AUTH_USER_MODEL = 'galaxy.User' diff --git a/requirements/requirements.common.txt b/requirements/requirements.common.txt index 10f3452e65..c9b3896614 100644 --- a/requirements/requirements.common.txt +++ b/requirements/requirements.common.txt @@ -93,6 +93,7 @@ django==4.2.14 # django-auth-ldap # django-crum # django-filter + # django-flags # django-guid # django-import-export # django-lifecycle @@ -113,6 +114,8 @@ django-crum==0.7.9 # galaxy-ng (setup.py) django-filter==23.5 # via pulpcore +django-flags==5.0.13 + # via galaxy-ng (setup.py) django-guid==3.4.0 # via pulpcore django-import-export==3.3.9 diff --git a/requirements/requirements.insights.txt b/requirements/requirements.insights.txt index b7d1fa7c31..20f796087f 100644 --- a/requirements/requirements.insights.txt +++ b/requirements/requirements.insights.txt @@ -106,6 +106,7 @@ django==4.2.14 # django-auth-ldap # django-crum # django-filter + # django-flags # django-guid # django-import-export # django-lifecycle @@ -127,6 +128,8 @@ django-crum==0.7.9 # galaxy-ng (setup.py) django-filter==23.5 # via pulpcore +django-flags==5.0.13 + # via galaxy-ng (setup.py) django-guid==3.4.0 # via pulpcore django-import-export==3.3.9 diff --git a/requirements/requirements.standalone.txt b/requirements/requirements.standalone.txt index 79f8a87863..32edeccb55 100644 --- a/requirements/requirements.standalone.txt +++ b/requirements/requirements.standalone.txt @@ -93,6 +93,7 @@ django==4.2.14 # django-auth-ldap # django-crum # django-filter + # django-flags # django-guid # django-import-export # django-lifecycle @@ -113,6 +114,8 @@ django-crum==0.7.9 # galaxy-ng (setup.py) django-filter==23.5 # via pulpcore +django-flags==5.0.13 + # via galaxy-ng (setup.py) django-guid==3.4.0 # via pulpcore django-import-export==3.3.9 diff --git a/setup.py b/setup.py index ebc5e7803e..4ce16e00e8 100644 --- a/setup.py +++ b/setup.py @@ -113,6 +113,7 @@ def run(self): "marshmallow<4.0.0,>=3.6.1", "django-picklefield<4.0.0,>=3.0.1", "django-ipware<4.0.0,>=3.0.0", + "django-flags", ]