Skip to content

Commit

Permalink
remove re_path
Browse files Browse the repository at this point in the history
  • Loading branch information
saschahofmann committed Feb 10, 2022
1 parent 83e9000 commit 141b878
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions invitations/urls.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
from django.conf.urls import url
from django.urls import re_path

from . import views

app_name = 'invitations'
urlpatterns = [
url(r'^send-invite/$', views.SendInvite.as_view(),
re_path(r'^send-invite/$', views.SendInvite.as_view(),
name='send-invite'),

url(r'^send-json-invite/$', views.SendJSONInvite.as_view(),
re_path(r'^send-json-invite/$', views.SendJSONInvite.as_view(),
name='send-json-invite'),

url(r'^accept-invite/(?P<key>\w+)/?$', views.AcceptInvite.as_view(),
re_path(r'^accept-invite/(?P<key>\w+)/?$', views.AcceptInvite.as_view(),
name='accept-invite'),
]

0 comments on commit 141b878

Please sign in to comment.