Skip to content

Commit

Permalink
Re-add dab to installed apps by default.
Browse files Browse the repository at this point in the history
No-Issue

Signed-off-by: James Tanner <[email protected]>
  • Loading branch information
jctanner committed Jun 10, 2024
1 parent c1cc1b0 commit eb18e03
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
COMPOSE_PROFILE=galaxy_ng/base:galaxy_ng/community:pminio
COMPOSE_PROJECT_NAME=ci-community

DEV_SOURCE_PATH=galaxy_ng
DEV_SOURCE_PATH=galaxy_ng:django-ansible-base
COMPOSE_BINARY=docker
SETUP_TEST_DATA=1
UPDATE_UI=0
Expand Down
3 changes: 1 addition & 2 deletions galaxy_ng/app/dynaconf_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,11 @@ def configure_dab_resource_registry(settings: Dynaconf) -> Dict[str, Any]:

data = {}
if flags["dab_resource_registry"]:
data["INSTALLED_APPS"] = ['ansible_base.resource_registry', 'dynaconf_merge']
data["ANSIBLE_BASE_RESOURCE_CONFIG_MODULE"] = "galaxy_ng.app.api.resource_api"

# this always needs social_django installed ...
if "social_django" not in settings.INSTALLED_APPS:
data["INSTALLED_APPS"].append("social_django")
data["INSTALLED_APPS"] = ["social_django"]

return data

Expand Down
1 change: 1 addition & 0 deletions galaxy_ng/app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
'rest_framework.authtoken',
'crum',
'dynaconf_merge',
'ansible_base.resource_registry',
]


Expand Down

0 comments on commit eb18e03

Please sign in to comment.