Skip to content

Loading…

TEMPLATE_STRING_IF_INVALID setting throws error in traversing from page-list to page item #2676

Open
ramandv opened this Issue · 3 comments

3 participants

@ramandv

Page list [http://localhost:8000/en/admin/cms/page/] url lists the items with invalid anchor url
[http://localhost:9000/en/admin/cms/page/INVALID%20EXPRESSION:%20url7/]

It is not critical, as it will be used only in development settings. But it might confuse the newbies, when they are trying out.

@digi604
Divio AG member

i don't understand the issue... could you explain more?

@digi604 digi604 added this to the 3.0 milestone
@ramandv

Version: 2.4.3

How to reproduce the error:

In the settings.py, add the following config

TEMPLATE_STRING_IF_INVALID = 'INVALID EXPRESSION: %s'

Now, check the admin page for "pages" and click on a particular page_item

cursor_and_list_of_pages_and_site_administration___django_site_admin-14

@digi604 digi604 modified the milestone: 2.4.X, 3.0
@ggaughan

This also breaks the 'Page' menu link in the front-end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.