@ -76,6 +76,7 @@ from authentik.providers.scim.models import SCIMProviderGroup, SCIMProviderUser
|
|||||||
from authentik.rbac.models import Role
|
from authentik.rbac.models import Role
|
||||||
from authentik.sources.scim.models import SCIMSourceGroup, SCIMSourceUser
|
from authentik.sources.scim.models import SCIMSourceGroup, SCIMSourceUser
|
||||||
from authentik.stages.authenticator_webauthn.models import WebAuthnDeviceType
|
from authentik.stages.authenticator_webauthn.models import WebAuthnDeviceType
|
||||||
|
from authentik.tasks.models import Task
|
||||||
from authentik.tenants.models import Tenant
|
from authentik.tenants.models import Tenant
|
||||||
|
|
||||||
# Context set when the serializer is created in a blueprint context
|
# Context set when the serializer is created in a blueprint context
|
||||||
@ -117,6 +118,7 @@ def excluded_models() -> list[type[Model]]:
|
|||||||
SCIMProviderUser,
|
SCIMProviderUser,
|
||||||
Tenant,
|
Tenant,
|
||||||
SystemTask,
|
SystemTask,
|
||||||
|
Task,
|
||||||
ConnectionToken,
|
ConnectionToken,
|
||||||
AuthorizationCode,
|
AuthorizationCode,
|
||||||
AccessToken,
|
AccessToken,
|
||||||
|
|||||||
@ -51,4 +51,4 @@ class ScheduleViewSet(
|
|||||||
"id",
|
"id",
|
||||||
"uid",
|
"uid",
|
||||||
)
|
)
|
||||||
ordering = ("-next_run", "uid")
|
ordering = ("next_run", "uid")
|
||||||
|
|||||||
Reference in New Issue
Block a user