use djangos named URLs and url-reverse instead of manually constructing urls

This commit is contained in:
fonfon committed 2014-07-10 03:44:52 +00:00
1 parent 32872cea12
commit a82a83576f
30 files changed
+73 -84

No files matched your search

+1 -1
View File
@@ -24,5 +24,5 @@ from django.conf.urls import patterns, url
urlpatterns = patterns( # pylint: disable-msg=C0103
'modules.apps.apps',
url(r'^apps/$', 'index')
url(r'^apps/$', 'index', name='index')
)