Skip to content

RoutablePage #11475

Answered by gasman
kiyoshi-satoo asked this question in Q&A
Jan 19, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Unfortunately this is a known issue with RoutablePageMixin (see #3653) - URLs still have to follow the same restrictions as page slugs.

Maybe you could use the quote / unquote functions in django.contrib.admin.utils (and the admin_urlquote template filter from the admin_urls tag library within templates - title=image.alt|admin_urlquote) to convert these strings to slug-safe versions within the URL?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kiyoshi-satoo
Comment options

Answer selected by thibaudcolas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants