00af109e2f
* add flake8 to pre-commit config, and fixup many things to make flake8 happy * add isort and sort all imports, add to pre-commit and requirements
16 lines
434 B
Python
16 lines
434 B
Python
from django.urls import path
|
|
|
|
from .views import ShopTicketDetailView, ShopTicketDownloadView, ShopTicketListView
|
|
|
|
app_name = "tickets"
|
|
|
|
urlpatterns = [
|
|
path("", ShopTicketListView.as_view(), name="shopticket_list"),
|
|
path(
|
|
"<uuid:pk>/download/",
|
|
ShopTicketDownloadView.as_view(),
|
|
name="shopticket_download",
|
|
),
|
|
path("<uuid:pk>/edit/", ShopTicketDetailView.as_view(), name="shopticket_edit"),
|
|
]
|