diff options
author | Filipp Lepalaan <f@230.to> | 2013-11-19 11:16:17 +0200 |
---|---|---|
committer | Filipp Lepalaan <f@230.to> | 2013-11-19 11:16:17 +0200 |
commit | 1c760af665e388f921b770d9c5c3ded1fc11f626 (patch) | |
tree | 7dede4db584eedaf525c5e3e42b14f9dd8e83a50 /motor | |
parent | 297419f370ea87458017ee506a2e551e9068b66b (diff) | |
download | motor.old-1c760af665e388f921b770d9c5c3ded1fc11f626.tar.gz motor.old-1c760af665e388f921b770d9c5c3ded1fc11f626.tar.bz2 motor.old-1c760af665e388f921b770d9c5c3ded1fc11f626.zip |
Switching machines
Diffstat (limited to 'motor')
-rw-r--r-- | motor/urls.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/motor/urls.py b/motor/urls.py index 39822d7..9ec4845 100644 --- a/motor/urls.py +++ b/motor/urls.py @@ -6,6 +6,8 @@ from apps.issues.views import * urlpatterns = patterns( '', #url(r'^$', 'docs.views.index', name='docs-index'), + url(r'^$', list_issues, name='issues-index'), + url(r'^(\d+)/$', list_issues, name='issues-index'), url(r'^manage/$', LoginView.as_view(), name='core-login'), url(r'^manage/logout/$', logout, name='core-logout'), url(r'^manage/docs/$', ArticleListView.as_view(), name='core-list_docs'), @@ -20,8 +22,7 @@ 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<pk>\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'), + #url(r'^([\w\-]+)/$', 'docs.views.view_article', name='docs-view'), ) |