aboutsummaryrefslogtreecommitdiffstats
path: root/servo/urls
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-11-09 14:30:30 +0200
committerFilipp Lepalaan <filipp@mac.com>2015-11-09 14:30:30 +0200
commit96432a9a4ff849da6c3f450253198b83cf3fbde9 (patch)
treebdda2b75b67e7d4eb16ba6114ccdf0f0086f85d7 /servo/urls
parent37bbb1fc01ee14298637ea02208ef1ec35eb1a97 (diff)
downloadServo-96432a9a4ff849da6c3f450253198b83cf3fbde9.tar.gz
Servo-96432a9a4ff849da6c3f450253198b83cf3fbde9.tar.bz2
Servo-96432a9a4ff849da6c3f450253198b83cf3fbde9.zip
Cleanup
Diffstat (limited to 'servo/urls')
-rw-r--r--servo/urls/default.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/servo/urls/default.py b/servo/urls/default.py
index 81a4575..a8be378 100644
--- a/servo/urls/default.py
+++ b/servo/urls/default.py
@@ -25,8 +25,8 @@ urlpatterns = patterns(
url(r'^barcode/([\w\-]+)/$', 'servo.views.note.show_barcode',
name='barcodes-view'),
- url(r'^files/(?P<pk>\d+)/view/$', files.view_file),
- url(r'^files/(?P<path>.+)/$', files.get_file),
+ url(r'^files/(?P<pk>\d+)/view/$', files.view_file, name="files-view_file"),
+ url(r'^files/(?P<path>.+)/$', files.get_file, name="files-get_file"),
url(r'^login/$', account.login, name="accounts-login"),
url(r'^logout/$', account.logout, name="accounts-logout"),