fix proper urls for ticket app
This commit is contained in:
parent
13efe137b8
commit
15cc999e55
|
@ -8,17 +8,17 @@ from .views import (
|
|||
|
||||
urlpatterns = [
|
||||
url(
|
||||
r'tickets/$',
|
||||
r'^$',
|
||||
ShopTicketListView.as_view(),
|
||||
name='shopticket_list'
|
||||
),
|
||||
url(
|
||||
r'tickets/(?P<pk>\b[0-9A-Fa-f]{8}\b(-\b[0-9A-Fa-f]{4}\b){3}-\b[0-9A-Fa-f]{12}\b)/download$',
|
||||
r'^(?P<pk>\b[0-9A-Fa-f]{8}\b(-\b[0-9A-Fa-f]{4}\b){3}-\b[0-9A-Fa-f]{12}\b)/download/$',
|
||||
ShopTicketDownloadView.as_view(),
|
||||
name='shopticket_download'
|
||||
),
|
||||
url(
|
||||
r'tickets/(?P<pk>\b[0-9A-Fa-f]{8}\b(-\b[0-9A-Fa-f]{4}\b){3}-\b[0-9A-Fa-f]{12}\b)/edit$',
|
||||
r'^(?P<pk>\b[0-9A-Fa-f]{8}\b(-\b[0-9A-Fa-f]{4}\b){3}-\b[0-9A-Fa-f]{12}\b)/edit/$',
|
||||
ShopTicketDetailView.as_view(),
|
||||
name='shopticket_edit'
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue