mirror of
https://github.com/MOIS3Y/logs-collector.git
synced 2025-02-01 09:20:52 +01:00
33 lines
623 B
Python
33 lines
623 B
Python
from django.urls import path
|
|
|
|
from . import views
|
|
|
|
|
|
urlpatterns = [
|
|
path(
|
|
'',
|
|
views.ListAllTickets.as_view(),
|
|
name='index'
|
|
),
|
|
path(
|
|
'tickets/',
|
|
views.ListAllTickets.as_view(),
|
|
name='index'
|
|
),
|
|
path(
|
|
'tickets/<slug:platform>/',
|
|
views.ListPlatformTickets.as_view(),
|
|
name='platform'
|
|
),
|
|
path(
|
|
'tickets/<slug:platform>/<int:ticket>/',
|
|
views.DetailTicket.as_view(),
|
|
name='ticket'
|
|
),
|
|
path(
|
|
'archives/<path:path>',
|
|
views.ArchiveHandlerView.as_view(),
|
|
name="download"
|
|
),
|
|
]
|