git://git.onelab.eu
/
myslice.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6ec0464
)
Django 1.6.1 - Incompatibility ERROR - ImportError - from django.contrib.auth.hashers...
author
Loic Baron
<loic.baron@lip6.fr>
Fri, 24 Jan 2014 15:46:16 +0000
(16:46 +0100)
committer
Loic Baron
<loic.baron@lip6.fr>
Fri, 24 Jan 2014 15:46:16 +0000
(16:46 +0100)
portal/forms.py
patch
|
blob
|
history
diff --git
a/portal/forms.py
b/portal/forms.py
index
fc8d8c3
..
afbf344
100644
(file)
--- a/
portal/forms.py
+++ b/
portal/forms.py
@@
-28,6
+28,10
@@
from portal.models import PendingUser, PendingSlice
from django.utils.translation import ugettext_lazy as _
from django.contrib.auth.tokens import default_token_generator
from django.contrib.auth import authenticate, get_user_model
from django.utils.translation import ugettext_lazy as _
from django.contrib.auth.tokens import default_token_generator
from django.contrib.auth import authenticate, get_user_model
+# TODO: Remove these automated forms and use html templates and views like any other page !
+# ERROR ImportError: cannot import name UNUSABLE_PASSWORD
+# XXX This is not compatible with Django 1.6.1
+# Ref: https://github.com/dot2code/varnish-bans-manager/issues/8
from django.contrib.auth.hashers import UNUSABLE_PASSWORD, identify_hasher
from django.contrib.sites.models import get_current_site
from django.utils.http import int_to_base36
from django.contrib.auth.hashers import UNUSABLE_PASSWORD, identify_hasher
from django.contrib.sites.models import get_current_site
from django.utils.http import int_to_base36