X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/40e2851e2e2bf5e35063597b30ada01d06d2cc11..49d0961a6f7f585f707cd08817f3e0a9f1a19212:/forum/urls.py?ds=sidebyside diff --git a/forum/urls.py b/forum/urls.py index d1715df..30fd5ac 100644 --- a/forum/urls.py +++ b/forum/urls.py @@ -144,7 +144,7 @@ urlpatterns += patterns('', name='user_recent'), 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.*)$' % _('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'),