Skip to content

Commit

Permalink
fix: update urls in favor of re_path for deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
luisfelipec95 committed Jan 25, 2024
1 parent 9f55b21 commit 3d8c7a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eox_hooks/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
1. Import the include() function: from django.conf.urls import url, include
2. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls'))
"""
from django.conf.urls import url
from django.urls import re_path

from eox_hooks import views

urlpatterns = [
url(r'^eox-info$', views.info_view, name='eox-info'),
re_path(r'^eox-info$', views.info_view, name='eox-info'),
]

0 comments on commit 3d8c7a5

Please sign in to comment.