mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2025-01-13 09:28:14 +01:00
Update urlconf to recognise KB category slugs that include numbers. Closes #68.
This commit is contained in:
parent
2aaaf57504
commit
acbcfebef5
@ -157,15 +157,15 @@ if helpdesk_settings.HELPDESK_KB_ENABLED:
|
||||
urlpatterns += patterns('helpdesk.views.kb',
|
||||
url(r'^kb/$',
|
||||
'index', name='helpdesk_kb_index'),
|
||||
|
||||
url(r'^kb/(?P<slug>[A-Za-z_-]+)/$',
|
||||
'category', name='helpdesk_kb_category'),
|
||||
|
||||
|
||||
url(r'^kb/(?P<item>[0-9]+)/$',
|
||||
'item', name='helpdesk_kb_item'),
|
||||
|
||||
url(r'^kb/(?P<item>[0-9]+)/vote/$',
|
||||
'vote', name='helpdesk_kb_vote'),
|
||||
|
||||
url(r'^kb/(?P<slug>[A-Za-z0-9_-]+)/$',
|
||||
'category', name='helpdesk_kb_category'),
|
||||
)
|
||||
|
||||
urlpatterns += patterns('',
|
||||
|
Loading…
Reference in New Issue
Block a user