summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
authorBruno Sarlo <bruno@bruno-laptop.(none)>2009-08-09 20:30:10 -0300
committerBruno Sarlo <bruno@bruno-laptop.(none)>2009-08-09 20:30:10 -0300
commit5355093787212ee84624ed54e3e165ca7f156034 (patch)
tree4c88a9dcfae2f58bfc10bfffa249ed383c042f6b /urls.py
parentf24631c7f0659a5c349dfb8b89f9862f9ecd03f7 (diff)
downloadaskbot-5355093787212ee84624ed54e3e165ca7f156034.tar.gz
askbot-5355093787212ee84624ed54e3e165ca7f156034.tar.bz2
askbot-5355093787212ee84624ed54e3e165ca7f156034.zip
Added revers urls for links to work with i18n.
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/urls.py b/urls.py
index eb28cf69..4bc90bb9 100644
--- a/urls.py
+++ b/urls.py
@@ -47,9 +47,9 @@ urlpatterns = patterns('',
url(r'^answers/(?P<answer_id>\d+)/comments/(?P<comment_id>\d+)/delete/$', app.delete_answer_comment, name='delete_answer_comment'),
#place general question item in the end of other operations
url(r'^questions/(?P<id>\d+)//*', app.question, name='question'),
- (r'^tags/$', app.tags),
- (r'^tags/(?P<tag>[^/]+)/$', app.tag),
- (r'^users/$',app.users),
+ url(r'^tags/$', app.tags, name='tags'),
+ url(r'^tags/(?P<tag>[^/]+)/$', app.tag),
+ url(r'^users/$',app.users, name='users'),
url(r'^users/(?P<id>\d+)/edit/$', app.edit_user, name='edit_user'),
url(r'^users/(?P<id>\d+)//*', app.user, name='user'),
url(r'^badges/$',app.badges, name='badges'),