Skip to content

Commit

Permalink
Fix import sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
willbarton committed Jul 7, 2022
1 parent e8914ae commit 40c7806
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
1 change: 1 addition & 0 deletions wagtailflags/tests/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import wagtail


ALLOWED_HOSTS = ["*"]

USE_TZ = True
Expand Down
9 changes: 2 additions & 7 deletions wagtailflags/tests/urls.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
from wagtail.admin import urls as wagtailadmin_urls

from django.urls import include, re_path

try: # pragma: no cover; >= 2.0
from django.urls import include, re_path
except ImportError: # pragma: no cover; fallback for Django < 2.0
from django.conf.urls import include
from django.conf.urls import url as re_path
from wagtail.admin import urls as wagtailadmin_urls


urlpatterns = [
Expand Down

0 comments on commit 40c7806

Please sign in to comment.