summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
authorBruno Sarlo <bruno@bruno-laptop.(none)>2009-08-09 20:30:34 -0300
committerBruno Sarlo <bruno@bruno-laptop.(none)>2009-08-09 20:30:34 -0300
commitd93c8261fe3a16fd9232aab7fbed8718a41439cf (patch)
tree4c88a9dcfae2f58bfc10bfffa249ed383c042f6b /urls.py
parent29828442db7d97354d84be133fad6401d2c53223 (diff)
downloadaskbot-d93c8261fe3a16fd9232aab7fbed8718a41439cf.tar.gz
askbot-d93c8261fe3a16fd9232aab7fbed8718a41439cf.tar.bz2
askbot-d93c8261fe3a16fd9232aab7fbed8718a41439cf.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'),