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
Reverse for 'registration_activate' not found #119
Comments
@5ak3t is this still valid? |
@5ak3t any updates? If not we'll close the issue for now, feel free to reopen if you're still having any problems! |
Please close it for now. |
Thanks @5ak3t! |
cant get {% url 'registration_activate' %} part to work in activation_email.txt |
@5ak3t were you able to find a workaround? |
had to construct it: |
@shepelevstas how did you include the urls? perhaps that's why the reverse failed? |
url(r'^accounts/register/$', |
sorry, don't know how to format text to code here |
https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet for formatting :) also i think that you're using the django-registration project since you have |
Wow! That's a facepalm )))))))))) Thanks!:) |
You will run into this issue if you have given to namespace to the apps So your app finds |
I have the following settings -
REGISTRATION_OPEN = True # If True, users can register
ACCOUNT_ACTIVATION_DAYS = 7 # One-week activation window; you may, of course, use a different value.
REGISTRATION_AUTO_LOGIN = True # If True, the user will be automatically logged in.
LOGIN_REDIRECT_URL = '/' # The page you want users to arrive at after they successful log in
LOGIN_URL = '/accounts/login/' # The page users are directed to if they are not logged in, and are trying to access pages requiring authentication
INCLUDE_REGISTER_URL = True
And the following in the URLS -
...
url(r'accounts/register/', BaseRegisterView.as_view(), name='registration_register'),
(r'^accounts/', include('registration.backends.simple.urls')),
...
Following error -
The text was updated successfully, but these errors were encountered: