Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (25 sloc) 1.25 KB
from django.conf.urls.defaults import *
from django.conf import settings
# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()
urlpatterns = patterns('',
# Example:
# (r'^tracker/', include('')),
# Uncomment the admin/doc line below and add 'django.contrib.admindocs'
# to INSTALLED_APPS to enable admin documentation:
# (r'^admin/doc/', include('django.contrib.admindocs.urls')),
# Uncomment the next line to enable the admin:
# (r'^admin/', include(,
(r'^viewissue/(\d+)$', 'helpdesk-tracker.track.views.view_issue'),
(r'^$', 'helpdesk-tracker.track.views.list_open_issues'),
(r'^updateissue$', 'helpdesk-tracker.track.views.update_issue'),
(r'^createissue$', 'helpdesk-tracker.track.views.create_issue'),
(r'^createissueform$', 'helpdesk-tracker.track.views.create_issue_echoer'),
(r'^allissues$', 'helpdesk-tracker.track.views.allissues'),
(r'^issuejson/(\d+)/$', 'helpdesk-tracker.track.views.get_issue_json'),
if settings.DEV_ENV:
urlpatterns += patterns('',
(r'^'+settings.MEDIA_URL+'(?P<path>.*)$', 'django.views.static.serve',{'document_root': settings.MEDIA_ROOT}),
Jump to Line
Something went wrong with that request. Please try again.