diff options
author | Bruno Sarlo <bruno@bruno-laptop.(none)> | 2009-08-09 20:30:10 -0300 |
---|---|---|
committer | Bruno Sarlo <bruno@bruno-laptop.(none)> | 2009-08-09 20:30:10 -0300 |
commit | 5355093787212ee84624ed54e3e165ca7f156034 (patch) | |
tree | 4c88a9dcfae2f58bfc10bfffa249ed383c042f6b /urls.py | |
parent | f24631c7f0659a5c349dfb8b89f9862f9ecd03f7 (diff) | |
download | askbot-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.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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'), |