Skip to content

Commit

Permalink
Add explicit AppConfig to arches core re #11009
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtylerwalls committed Jul 2, 2024
1 parent 153aab2 commit 7d25b66
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions arches/apps.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
from django.apps import AppConfig
from django.conf import settings
from django.core.checks import register, Tags, Error, Warning

from arches.settings_utils import inject_arches_applications_directories


class ArchesAppConfig(AppConfig):
name = "arches"
verbose_name = "Arches"
is_arches_application = False

def ready(self):
inject_arches_applications_directories()


@register(Tags.security)
def check_cache_backend_for_production(app_configs, **kwargs):
Expand Down

0 comments on commit 7d25b66

Please sign in to comment.