X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Fforms.py;h=afbf3442ef674c889a8442bcc5134b512ac49bdc;hb=6f9151d28008d4b6fc49e2d9c0cfe2d848a90f9f;hp=fc8d8c3f06a02fb54cee816f08acfe140a7c1cc3;hpb=1afacfe6585d82ff1f6b8d5c37b00ff977f11d36;p=myslice.git diff --git a/portal/forms.py b/portal/forms.py index fc8d8c3f..afbf3442 100644 --- 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 +# 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