0001-use-django.forms.utils-25317.patch
src/authentic2/registration_backend/forms.py | ||
---|---|---|
8 | 8 |
from django.forms import ModelForm, Form, CharField, PasswordInput, EmailField |
9 | 9 |
from django.utils.datastructures import SortedDict |
10 | 10 |
from django.db.models.fields import FieldDoesNotExist |
11 |
from django.forms.util import ErrorList |
|
11 |
from django.forms.utils import ErrorList
|
|
12 | 12 | |
13 | 13 |
from django.contrib.auth.models import BaseUserManager, Group |
14 | 14 |
from django.contrib.auth import forms as auth_forms, get_user_model, REDIRECT_FIELD_NAME |
src/authentic2/utils.py | ||
---|---|---|
22 | 22 |
HASH_SESSION_KEY, BACKEND_SESSION_KEY, authenticate, |
23 | 23 |
get_user_model) |
24 | 24 |
from django import forms |
25 |
from django.forms.util import ErrorList |
|
26 |
from django.forms.utils import to_current_timezone |
|
25 |
from django.forms.utils import ErrorList, to_current_timezone |
|
27 | 26 |
from django.utils import timezone |
28 | 27 |
from django.utils import html, http |
29 | 28 |
from django.utils.translation import ugettext as _, ungettext |
30 |
- |