Skip to content

Commit

Permalink
Remove imports
Browse files Browse the repository at this point in the history
  • Loading branch information
chloend committed Nov 7, 2024
1 parent 002e8e7 commit d3bea5b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions config/urls.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from django.conf import settings
from django.conf.urls.static import static
from django.urls import include, path

from wagtail import urls as wagtail_urls
from wagtail.admin import urls as wagtailadmin_urls
from wagtail.contrib.sitemaps.views import sitemap
Expand All @@ -23,7 +22,7 @@
path("profil/listes-dachats/", include("lemarche.www.dashboard_favorites.urls")),
path("select2/", include("django_select2.urls")),
# sitemap
path("sitemap.xml", sitemap, name="sitemap"), # appears above the default Wagtail page serving route
path("sitemap.xml", sitemap, name="sitemap"), # appears above the default Wagtail page serving route
# admin blog
path("cms/", include(wagtailadmin_urls)),
path("blog/", include("blog.urls")),
Expand Down
9 changes: 3 additions & 6 deletions lemarche/www/pages/tests.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
import xml.etree.ElementTree as ET

from django.test import TestCase
from django.urls import reverse
from django.utils import timezone
from wagtail.models import Page as WagtailPage, Site

from lemarche.pages.models import Page as FlatPage
from lemarche.siaes.factories import SiaeFactory
from lemarche.users.factories import UserFactory
from lemarche.users.models import User

from wagtail.models import Page as WagtailPage
from wagtail.models import Site

import xml.etree.ElementTree as ET


class PagesHeaderLinkTest(TestCase):
fixtures = [
Expand Down

0 comments on commit d3bea5b

Please sign in to comment.