You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having a problem with 3 templates: activate.html, login.html, and activation_complete.html
I seems that on my setup, python3.3 and django 1.5.1 the urls don't reverse correctly.
The solution I have found moves the {% url %} tags immediately after the {% block content %} tag. Then everything works fine. Otherwise all links send you back to /login and you can't get past the login screen.
I think there were 4 changes in all that needed to be made. For whatever reason it seems that the {% url %} lose scope in the {% block content %} and don't render correctly.
Thanks,
Danny
The text was updated successfully, but these errors were encountered:
It appears that {% url ... as ... %} variable definitions do not work
if defined outside the {% block content %} scope. Move the url
definitions inside the block. Fixes issue #16.
I am having a problem with 3 templates: activate.html, login.html, and activation_complete.html
I seems that on my setup, python3.3 and django 1.5.1 the urls don't reverse correctly.
The solution I have found moves the {% url %} tags immediately after the {% block content %} tag. Then everything works fine. Otherwise all links send you back to /login and you can't get past the login screen.
I think there were 4 changes in all that needed to be made. For whatever reason it seems that the {% url %} lose scope in the {% block content %} and don't render correctly.
Thanks,
Danny
The text was updated successfully, but these errors were encountered: