From d93c8261fe3a16fd9232aab7fbed8718a41439cf Mon Sep 17 00:00:00 2001 From: Bruno Sarlo Date: Sun, 9 Aug 2009 20:30:34 -0300 Subject: Added revers urls for links to work with i18n. --- urls.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'urls.py') 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\d+)/comments/(?P\d+)/delete/$', app.delete_answer_comment, name='delete_answer_comment'), #place general question item in the end of other operations url(r'^questions/(?P\d+)//*', app.question, name='question'), - (r'^tags/$', app.tags), - (r'^tags/(?P[^/]+)/$', app.tag), - (r'^users/$',app.users), + url(r'^tags/$', app.tags, name='tags'), + url(r'^tags/(?P[^/]+)/$', app.tag), + url(r'^users/$',app.users, name='users'), url(r'^users/(?P\d+)/edit/$', app.edit_user, name='edit_user'), url(r'^users/(?P\d+)//*', app.user, name='user'), url(r'^badges/$',app.badges, name='badges'), -- cgit v1.2.3-1-g7c22