diff --git a/backoffice/backoffice/users/tasks.py b/backoffice/backoffice/users/tasks.py index c99341c5..29486c79 100644 --- a/backoffice/backoffice/users/tasks.py +++ b/backoffice/backoffice/users/tasks.py @@ -1,6 +1,5 @@ -from django.contrib.auth import get_user_model - from config import celery_app +from django.contrib.auth import get_user_model User = get_user_model() diff --git a/workflows/tests/test_author_create_tasks.py b/workflows/tests/test_author_create_tasks.py index 1a38911b..1958145a 100644 --- a/workflows/tests/test_author_create_tasks.py +++ b/workflows/tests/test_author_create_tasks.py @@ -1,5 +1,4 @@ import pytest - from dags.author.author_create.shared_tasks import ( close_author_create_user_ticket, )