You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
533 B
Python

from django.urls import path
8 years ago
from . import views
app_name = 'tickets'
8 years ago
urlpatterns = [
path('new', views.new, name='new'),
path('view/<id>', views.view, name='view'),
path('', views.index, name='index'),
path('open', views.index, dict(f='open'), name='index_open'),
path('closed', views.index, dict(f='closed'), name='index_closed'),
path('all_open', views.index, dict(f='open', all=True), name='index_open_all'),
path('all_closed', views.index, dict(f='closed', all=True), name='index_closed_all'),
8 years ago
]