Files
bugsink/events/urls.py
2024-03-26 23:14:36 +01:00

11 lines
370 B
Python

from django.urls import path
from .views import event_download
urlpatterns = [
# path('event/<uuid:pk>/', event_detail), perhaps should become a redirect to issue/.../event now?
path('event/<uuid:event_pk>/raw/', event_download, kwargs={"as_attachment": False}),
path('event/<uuid:event_pk>/download/', event_download, kwargs={"as_attachment": True}),
]