diff --git a/example_site/example_site/urls.py b/example_site/example_site/urls.py index ebb6718..1de3893 100644 --- a/example_site/example_site/urls.py +++ b/example_site/example_site/urls.py @@ -13,9 +13,10 @@ Including another URLconf 1. Import the include() function: from django.urls import include, path 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) """ +from example import views + from django.contrib import admin from django.urls import include, path -from example import views urlpatterns = [ path("admin/", admin.site.urls), diff --git a/setup.cfg b/setup.cfg index 7d2e5cf..f02b7e4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -11,6 +11,7 @@ ignore = [isort] profile = black +combine_as_imports = true known_django = django known_first_party = authens,tests sections = FUTURE,STDLIB,THIRDPARTY,DJANGO,FIRSTPARTY,LOCALFOLDER