From 1bbfb4a44d42aca151f60a614ebeffbd44ef6e4d Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Wed, 27 Nov 2013 13:35:55 +0200 Subject: A bunch of fixes --- motor/urls.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'motor') diff --git a/motor/urls.py b/motor/urls.py index 394a7fd..85ec915 100644 --- a/motor/urls.py +++ b/motor/urls.py @@ -10,9 +10,12 @@ urlpatterns = patterns( '', #url(r'^$', 'docs.views.index', name='docs-index'), url(r'^$', welcome, name='issues-welcome'), - url(r'^issues/(\d+)/$', list_issues, name='issues-index'), - url(r'^issues/device/$', choose_device, name='issues-choose_device'), - url(r'^issues/device/([A-Z]+)/$', choose_device, name='issues-choose_device'), + url(r'^issues/thanks/$', thanks, name='issues-thanks'), + url(r'^issues/notes/$', details, name='issues-details'), + url(r'^issues/notes/([a-z]+)/$', details, name='issues-details'), + url(r'^issues/(\d+)?/$', list_issues, name='issues-index'), + url(r'^issues/devices/$', choose_device, name='issues-choose_device'), + url(r'^issues/devices/([a-z]+)/$', choose_device, name='issues-choose_device'), url(r'^issues/warranty/$', warranty, name='issues-warranty'), url(r'^issues/customer/$', customer, name='issues-customer'), url(r'^manage/$', LoginView.as_view(), name='core-login'), @@ -29,7 +32,8 @@ urlpatterns = patterns( url(r'^manage/issues/$', IssueListView.as_view(), name='issues-list_issues'), url(r'^manage/issues/add/$', IssueCreateView.as_view(), name='issues-add_issue'), url(r'^manage/issues/(?P\d+)/$', IssueEditView.as_view(), name='issues-edit_issue'), - url(r'^terms/$', TemplateView.as_view(template_name="terms.html"), {'title': 'ServoApp Terms of Service'}), + url(r'^terms/$', TemplateView.as_view(template_name="terms.html"), + {'title': 'ServoApp Terms of Service'}), (r'^admin/', include(admin.site.urls)), #url(r'^([\w\-]+)/$', 'docs.views.view_article', name='docs-view'), ) -- cgit v1.2.3