Skip to content

Commit

Permalink
Init django-flags (#2374)
Browse files Browse the repository at this point in the history
* init django-flags
* fix TemplateDoesNotExist
* remove TEMPLATES
  • Loading branch information
jerabekjiri authored Nov 29, 2024
1 parent 767254d commit f4faf42
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 3 deletions.
4 changes: 4 additions & 0 deletions galaxy_ng/app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
'crum',
'ansible_base.resource_registry',
'ansible_base.rbac',
'flags',
'social_django',
'dynaconf_merge_unique',
]
Expand Down Expand Up @@ -447,3 +448,6 @@

# https://github.com/ansible/django-ansible-base/pull/611
RENAMED_USERNAME_PREFIX = "galaxy_"

# feature flags
FLAGS = {}
5 changes: 4 additions & 1 deletion requirements/requirements.common.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile --output-file=requirements/requirements.common.txt setup.py
Expand Down Expand Up @@ -93,6 +93,7 @@ django==4.2.14
# django-auth-ldap
# django-crum
# django-filter
# django-flags
# django-guid
# django-import-export
# django-lifecycle
Expand All @@ -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
Expand Down
5 changes: 4 additions & 1 deletion requirements/requirements.insights.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile --output-file=requirements/requirements.insights.txt requirements/requirements.insights.in setup.py
Expand Down Expand Up @@ -106,6 +106,7 @@ django==4.2.14
# django-auth-ldap
# django-crum
# django-filter
# django-flags
# django-guid
# django-import-export
# django-lifecycle
Expand All @@ -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
Expand Down
5 changes: 4 additions & 1 deletion requirements/requirements.standalone.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile --output-file=requirements/requirements.standalone.txt requirements/requirements.standalone.in setup.py
Expand Down Expand Up @@ -93,6 +93,7 @@ django==4.2.14
# django-auth-ldap
# django-crum
# django-filter
# django-flags
# django-guid
# django-import-export
# django-lifecycle
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ def run(self):
"insights_analytics_collector>=0.3.0",
"boto3",
"distro",
"django-flags>=5.0.13",
django_ansible_base_dependency, # noqa 501
"django-crum==0.7.9",
# From vendored automated_logging
Expand Down

0 comments on commit f4faf42

Please sign in to comment.