-
Notifications
You must be signed in to change notification settings - Fork 92
get_current_site() will no longer be importable from django.contrib.sites.models #50
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
Comments
Django 1.9 was released December last year. Django 1.10 will be released in August. Any chance for a fix for this? |
Looks like this was fixed in #49 (November 2015) - the fact nobody has responded to this ticket or made a new release would suggest this project is dead. |
Nope. Not dead. Just on a very much needed holiday. Will take care of
|
Any news on this reaching pypi? |
Uh oh!
There was an error while loading. Please reload this page.
Hi
with django 1.9, an error occured when setting-up the application.
File "XXX/lib/python3.5/site-packages/password_policies/urls.py", line 3, in
from password_policies.views import PasswordChangeFormView
File "XXX/lib/python3.5/site-packages/password_policies/views.py", line 19, in
from password_policies.forms import PasswordPoliciesForm
File "XXX/lib/python3.5/site-packages/password_policies/forms/init.py", line 8, in
from django.contrib.sites.models import get_current_site
ImportError: cannot import name 'get_current_site
In Django Deprecation Timeline
https://docs.djangoproject.com/es/1.9/internals/deprecation/#deprecation-removed-in-1-9
there is the reason
"RequestSite and get_current_site() will no longer be importable from django.contrib.sites.models."
Is it possibile to fix it with
, correct?
Thank you
Pietro
The text was updated successfully, but these errors were encountered: