core: clear application cache upon application creation

This commit is contained in:
Jens Langhammer
2021-01-30 18:12:14 +01:00
parent 7fbf915e0a
commit 3926ee9eb6
2 changed files with 24 additions and 0 deletions

View File

@ -1,4 +1,6 @@
"""authentik core app config"""
from importlib import import_module
from django.apps import AppConfig
@ -9,3 +11,6 @@ class AuthentikCoreConfig(AppConfig):
label = "authentik_core"
verbose_name = "authentik Core"
mountpoint = ""
def ready(self):
import_module("authentik.core.signals")