Skip to content

Commit

Permalink
Merge pull request #447 from jazzband/schlich/issue446
Browse files Browse the repository at this point in the history
fix: replace outdated url function with path function in dev urls.py
  • Loading branch information
schlich authored Apr 17, 2023
2 parents f791a7b + 3995985 commit 69b362a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wagtailmenus/development/urls.py.example
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
from django.conf import settings
from django.conf.urls import include, url
from django.urls import include, path
from wagtailmenus.tests import urls as test_urls

urlpatterns = []
if settings.DEBUG:
import debug_toolbar
urlpatterns += [
url(r'^__debug__/', include(debug_toolbar.urls)),
path('__debug__/', include(debug_toolbar.urls)),
]
urlpatterns += [
url(r'', include(test_urls)),
path('', include(test_urls)),
]

0 comments on commit 69b362a

Please sign in to comment.