mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-22 07:53:19 +01:00
14b2c59093
* Add model for file attachments, although currently commented out.
68 lines
2.4 KiB
Python
68 lines
2.4 KiB
Python
""" ..
|
|
.,::;::::::
|
|
..,::::::::,,,,::: Jutda Helpdesk - A Django
|
|
.,,::::::,,,,,,,,,,,,,:: powered ticket tracker for
|
|
.,::::::,,,,,,,,,,,,,,,,,,:;r. small enterprise
|
|
.::::,,,,,,,,,,,,,,,,,,,,,,:;;rr.
|
|
.:::,,,,,,,,,,,,,,,,,,,,,,,:;;;;;rr (c) Copyright 2008
|
|
.:::,,,,,,,,,,,,,,,,,,,,,,,:;;;:::;;rr
|
|
.:::,,,,,,,,,,,,,,,,,,,,. ,;;;::::::;;rr Jutda
|
|
.:::,,,,,,,,,,,,,,,,,,. .:;;:::::::::;;rr
|
|
.:::,,,,,,,,,,,,,,,. .;r;::::::::::::;r; All Rights Reserved
|
|
.:::,,,,,,,,,,,,,,, .;r;;:::::::::::;;:.
|
|
.:::,,,,,,,,,,,,,,,. .;r;;::::::::::::;:.
|
|
.;:,,,,,,,,,,,,,,, .,;rr;::::::::::::;:. This software is released
|
|
.,:,,,,,,,,,,,,,. .,:;rrr;;::::::::::::;;. under a limited-use license that
|
|
:,,,,,,,,,,,,,..:;rrrrr;;;::::::::::::;;. allows you to freely download this
|
|
:,,,,,,,:::;;;rr;;;;;;:::::::::::::;;, software from it's manufacturer and
|
|
::::;;;;;;;;;;;:::::::::::::::::;;, use it yourself, however you may not
|
|
.r;;;;:::::::::::::::::::::::;;;, distribute it. For further details, see
|
|
.r;::::::::::::::::::::;;;;;:, the enclosed LICENSE file.
|
|
.;;::::::::::::::;;;;;:,.
|
|
.;;:::::::;;;;;;:,. Please direct people who wish to download this
|
|
.r;;;;;;;;:,. software themselves to www.jutda.com.au.
|
|
,,,..
|
|
|
|
$Id$
|
|
|
|
"""
|
|
|
|
from django.conf.urls.defaults import *
|
|
|
|
urlpatterns = patterns('helpdesk.views',
|
|
url(r'^$',
|
|
'dashboard',
|
|
name='helpdesk_home'),
|
|
|
|
url(r'^tickets/$',
|
|
'ticket_list',
|
|
name='helpdesk_list'),
|
|
|
|
url(r'^tickets/submit/$',
|
|
'create_ticket',
|
|
name='helpdesk_submit'),
|
|
|
|
url(r'^tickets/(?P<ticket_id>[0-9]+)/$',
|
|
'view_ticket',
|
|
name='helpdesk_view'),
|
|
|
|
url(r'^tickets/(?P<ticket_id>[0-9]+)/update/$',
|
|
'update_ticket',
|
|
name='helpdesk_update'),
|
|
|
|
url(r'^tickets/(?P<ticket_id>[0-9]+)/delete/$',
|
|
'delete_ticket',
|
|
name='helpdesk_delete'),
|
|
|
|
|
|
url(r'^raw/(?P<type>\w+)/$',
|
|
'raw_details',
|
|
name='helpdesk_raw'),
|
|
)
|
|
|
|
urlpatterns += patterns('',
|
|
url(r'^login/$', 'django.contrib.auth.views.login', name='login'),
|
|
|
|
url(r'^logout/$', 'django.contrib.auth.views.logout', name='logout'),
|
|
)
|