api: re-fix url import logging (#6400)
* fix logging Signed-off-by: Jens Langhammer <jens@goauthentik.io> * remove lib from apps lib doesn't declare any models, so it really doesn't need to be in there anyways? Signed-off-by: Jens Langhammer <jens@goauthentik.io> * remove lib from schema too Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
parent
664bc19bba
commit
b08f8d8e0c
|
@ -22,7 +22,7 @@ for _authentik_app in get_apps():
|
|||
try:
|
||||
api_urls = import_module(f"{_authentik_app.name}.urls")
|
||||
except (ModuleNotFoundError, ImportError) as exc:
|
||||
LOGGER.warning("Could not import app's URLs", app_name=_authentik_app.name, exception=exc)
|
||||
LOGGER.warning("Could not import app's URLs", app_name=_authentik_app.name, exc=exc)
|
||||
continue
|
||||
if not hasattr(api_urls, "api_urlpatterns"):
|
||||
LOGGER.debug(
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
"""authentik lib app config"""
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class AuthentikLibConfig(AppConfig):
|
||||
"""authentik lib app config"""
|
||||
|
||||
name = "authentik.lib"
|
||||
label = "authentik_lib"
|
||||
verbose_name = "authentik lib"
|
|
@ -66,7 +66,6 @@ INSTALLED_APPS = [
|
|||
"authentik.crypto",
|
||||
"authentik.events",
|
||||
"authentik.flows",
|
||||
"authentik.lib",
|
||||
"authentik.outposts",
|
||||
"authentik.policies.dummy",
|
||||
"authentik.policies.event_matcher",
|
||||
|
|
|
@ -3213,7 +3213,6 @@
|
|||
"authentik.crypto",
|
||||
"authentik.events",
|
||||
"authentik.flows",
|
||||
"authentik.lib",
|
||||
"authentik.outposts",
|
||||
"authentik.policies.dummy",
|
||||
"authentik.policies.event_matcher",
|
||||
|
|
|
@ -26665,7 +26665,6 @@ components:
|
|||
- authentik.crypto
|
||||
- authentik.events
|
||||
- authentik.flows
|
||||
- authentik.lib
|
||||
- authentik.outposts
|
||||
- authentik.policies.dummy
|
||||
- authentik.policies.event_matcher
|
||||
|
@ -26715,7 +26714,6 @@ components:
|
|||
* `authentik.crypto` - authentik Crypto
|
||||
* `authentik.events` - authentik Events
|
||||
* `authentik.flows` - authentik Flows
|
||||
* `authentik.lib` - authentik lib
|
||||
* `authentik.outposts` - authentik Outpost
|
||||
* `authentik.policies.dummy` - authentik Policies.Dummy
|
||||
* `authentik.policies.event_matcher` - authentik Policies.Event Matcher
|
||||
|
@ -29442,7 +29440,6 @@ components:
|
|||
* `authentik.crypto` - authentik Crypto
|
||||
* `authentik.events` - authentik Events
|
||||
* `authentik.flows` - authentik Flows
|
||||
* `authentik.lib` - authentik lib
|
||||
* `authentik.outposts` - authentik Outpost
|
||||
* `authentik.policies.dummy` - authentik Policies.Dummy
|
||||
* `authentik.policies.event_matcher` - authentik Policies.Event Matcher
|
||||
|
@ -29633,7 +29630,6 @@ components:
|
|||
* `authentik.crypto` - authentik Crypto
|
||||
* `authentik.events` - authentik Events
|
||||
* `authentik.flows` - authentik Flows
|
||||
* `authentik.lib` - authentik lib
|
||||
* `authentik.outposts` - authentik Outpost
|
||||
* `authentik.policies.dummy` - authentik Policies.Dummy
|
||||
* `authentik.policies.event_matcher` - authentik Policies.Event Matcher
|
||||
|
@ -36730,7 +36726,6 @@ components:
|
|||
* `authentik.crypto` - authentik Crypto
|
||||
* `authentik.events` - authentik Events
|
||||
* `authentik.flows` - authentik Flows
|
||||
* `authentik.lib` - authentik lib
|
||||
* `authentik.outposts` - authentik Outpost
|
||||
* `authentik.policies.dummy` - authentik Policies.Dummy
|
||||
* `authentik.policies.event_matcher` - authentik Policies.Event Matcher
|
||||
|
|
Reference in a new issue