mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 03:41:05 -05:00
Simplify url patterns
Favor `django.urls.path` over `re_path` where possible.
This commit is contained in:
@@ -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")),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user