Skip to content

Commit

Permalink
Update apps.py for 7.6. latest
Browse files Browse the repository at this point in the history
  • Loading branch information
chiatt committed Aug 14, 2024
1 parent b879d0c commit b995e05
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion disco/apps.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from django.apps import AppConfig
from django.conf import settings

from arches.settings_utils import generate_frontend_configuration

Expand All @@ -9,4 +10,5 @@ class DiscoConfig(AppConfig):
is_arches_application = True

def ready(self):
generate_frontend_configuration()
if settings.APP_NAME.lower() == self.name:
generate_frontend_configuration()

0 comments on commit b995e05

Please sign in to comment.