Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
This commit is contained in:
Marc 'risson' Schmitt
2025-04-02 17:58:52 +02:00
parent e89659fe71
commit 9cc6ebabc1
2 changed files with 3 additions and 1 deletions

View File

@ -76,6 +76,7 @@ from authentik.providers.scim.models import SCIMProviderGroup, SCIMProviderUser
from authentik.rbac.models import Role
from authentik.sources.scim.models import SCIMSourceGroup, SCIMSourceUser
from authentik.stages.authenticator_webauthn.models import WebAuthnDeviceType
from authentik.tasks.models import Task
from authentik.tenants.models import Tenant
# Context set when the serializer is created in a blueprint context
@ -117,6 +118,7 @@ def excluded_models() -> list[type[Model]]:
SCIMProviderUser,
Tenant,
SystemTask,
Task,
ConnectionToken,
AuthorizationCode,
AccessToken,

View File

@ -51,4 +51,4 @@ class ScheduleViewSet(
"id",
"uid",
)
ordering = ("-next_run", "uid")
ordering = ("next_run", "uid")