mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-12-19 13:10:40 +01:00
Fixed url pattern
This commit is contained in:
parent
af2fac038c
commit
f7ca446bc9
@ -251,7 +251,7 @@ if helpdesk_settings.HELPDESK_KB_ENABLED:
|
|||||||
path("kb/", kb.index, name="kb_index"),
|
path("kb/", kb.index, name="kb_index"),
|
||||||
re_path(r"^kb/(?P<slug>[A-Za-z0-9_-]+)/$",
|
re_path(r"^kb/(?P<slug>[A-Za-z0-9_-]+)/$",
|
||||||
kb.category, name="kb_category"),
|
kb.category, name="kb_category"),
|
||||||
path("kb/<int:item>/vote/(?P<vote>up|down)/", kb.vote, name="kb_vote"),
|
re_path(r"^kb/(?P<item>\d+)/vote/(?P<vote>up|down)/$", kb.vote, name="kb_vote"),
|
||||||
re_path(
|
re_path(
|
||||||
r"^kb_iframe/(?P<slug>[A-Za-z0-9_-]+)/$",
|
r"^kb_iframe/(?P<slug>[A-Za-z0-9_-]+)/$",
|
||||||
kb.category_iframe,
|
kb.category_iframe,
|
||||||
|
Loading…
Reference in New Issue
Block a user