Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoReverse exception for any kind of live page #160

Closed
sanastasiou opened this issue Apr 16, 2018 · 1 comment
Closed

NoReverse exception for any kind of live page #160

sanastasiou opened this issue Apr 16, 2018 · 1 comment

Comments

@sanastasiou
Copy link

Hi and thank you for this package. I've followed the installation manual and everything worked well, except for when I try to create any page and then click on the live version of it.

All my pages return with a NoReverse exception.

image

I've tried the hacks found here:

#122

since obviously a . is involved in the url, but to no avail. Is it possible to somehow override the reverse_subpage function so that it redirects to some entirely different page?

@sanastasiou
Copy link
Author

Fixed by setting these two settings:

PUPUT_USERNAME_FIELD = 'pk'
PUPUT_USERNAME_REGEX = '.+'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant