Skip to content

Commit b05057f

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent b90fcfc commit b05057f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

django_celery_results/admin.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
"""Result Task Admin interface."""
22

3+
from celery import current_app as celery_app
34
from django.conf import settings
4-
from django.contrib import admin
5+
from django.contrib import admin, messages
56
from django.utils.translation import gettext_lazy as _
6-
from django.contrib import messages
7-
from celery import current_app as celery_app
8-
97

108
try:
119
ALLOW_EDITS = settings.DJANGO_CELERY_RESULTS['ALLOW_EDITS']

0 commit comments

Comments
 (0)