From c2bdf4d37c3976b67f7a031e58754fbb3f880de0 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 18 Oct 2024 01:53:04 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- django_celery_results/admin.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/django_celery_results/admin.py b/django_celery_results/admin.py index d623100..65a9cdb 100644 --- a/django_celery_results/admin.py +++ b/django_celery_results/admin.py @@ -1,10 +1,9 @@ """Result Task Admin interface.""" +from celery import current_app as celery_app from django.conf import settings -from django.contrib import admin +from django.contrib import admin, messages from django.utils.translation import gettext_lazy as _ -from django.contrib import messages -from celery import current_app as celery_app try: ALLOW_EDITS = settings.DJANGO_CELERY_RESULTS['ALLOW_EDITS']