Simplify url patterns

Favor `django.urls.path` over `re_path` where possible.
This commit is contained in:
medmunds
2023-02-08 14:23:15 -08:00
parent 4e3e76f997
commit f5f3fc86e6
3 changed files with 41 additions and 39 deletions

View File

@@ -1,5 +1,5 @@
from django.urls import include, re_path
from django.urls import include, path
urlpatterns = [
re_path(r"^anymail/", include("anymail.urls")),
path("anymail/", include("anymail.urls")),
]