From c48158faf6e4c64dd7d6e6e53fdb09e0bd65600c Mon Sep 17 00:00:00 2001 From: Jaap Roes Date: Thu, 7 Mar 2024 09:20:38 +0100 Subject: [PATCH] Run isort --- testproject/testapp/views.py | 2 +- testproject/tests/test_sanitizer.py | 2 +- testproject/urls.py | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/testproject/testapp/views.py b/testproject/testapp/views.py index 94fed04..1774577 100644 --- a/testproject/testapp/views.py +++ b/testproject/testapp/views.py @@ -1,5 +1,5 @@ from django.shortcuts import get_object_or_404 -from django.views.generic import UpdateView, DetailView +from django.views.generic import DetailView, UpdateView from .forms import CommentForm from .models import Comment, Post diff --git a/testproject/tests/test_sanitizer.py b/testproject/tests/test_sanitizer.py index 9e07e49..02ed9f6 100644 --- a/testproject/tests/test_sanitizer.py +++ b/testproject/tests/test_sanitizer.py @@ -2,7 +2,7 @@ from django.test.utils import override_settings from djrichtextfield import settings -from djrichtextfield.sanitizer import noop, SanitizerMixin +from djrichtextfield.sanitizer import SanitizerMixin, noop class TestSanitizerMixin(TestCase): diff --git a/testproject/urls.py b/testproject/urls.py index fb685cf..1c4eec5 100644 --- a/testproject/urls.py +++ b/testproject/urls.py @@ -1,9 +1,8 @@ -from django.urls import include, path from django.contrib import admin +from django.urls import include, path from .testapp.views import CommentCreateView, PostDetail - admin.autodiscover() urlpatterns = [