From 559478ec9041c174a88b32c1a1c260c79d257d28 Mon Sep 17 00:00:00 2001 From: Alexei Date: Fri, 18 Mar 2022 13:02:15 +0200 Subject: [PATCH] fix(tasks): fix error caused by relative import --- oauth2_provider/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oauth2_provider/tasks.py b/oauth2_provider/tasks.py index d86c33720..a3f3b5f50 100644 --- a/oauth2_provider/tasks.py +++ b/oauth2_provider/tasks.py @@ -3,6 +3,6 @@ @shared_task def clear_tokens(): - from ...models import clear_expired # noqa + from oauth2_provider.models import clear_expired clear_expired()