From 57036ac147a3759cda54aefa125697c16b991cbb Mon Sep 17 00:00:00 2001 From: hernani Date: Sat, 9 Apr 2011 02:13:12 +0000 Subject: [PATCH] Don't force the slug on profile urls. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@945 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum/urls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/forum/urls.py b/forum/urls.py index 093be4f..3e9d19b 100644 --- a/forum/urls.py +++ b/forum/urls.py @@ -103,9 +103,9 @@ core_urls = ( url(r'^%s(?P\d+)/(?P.*)/%s$' % (_('users/'), _('reputation/')), app.users.user_reputation, name='user_reputation'), url(r'^%s(?P\d+)/(?P.*)/%s$' % (_('users/'), _('votes/')), app.users.user_votes, name='user_votes'), url(r'^%s(?P\d+)/(?P.*)/%s$' % (_('users/'), _('recent/')), app.users.user_recent, name='user_recent'), - url(r'^%s(?P\d+)/(?P.*)/$' % _('users/'), app.users.user_profile, name='user_profile'), + url(r'^%s(?P\d+)/(?P.*)$' % _('users/'), app.users.user_profile, name='user_profile'), url(r'^%s$' % _('badges/'), app.meta.badges, name='badges'), - url(r'^%s(?P\d+)/(?P[\w-]+)/?$' % _('badges/'), app.meta.badge, name='badge'), + url(r'^%s(?P\d+)/(?P[\w-]+)?$' % _('badges/'), app.meta.badge, name='badge'), # (r'^admin/doc/' % _('admin/doc'), include('django.contrib.admindocs.urls')), url(r'^%s$' % _('upload/'), app.writers.upload, name='upload'), -- 2.39.5