comparison accounts/views.py @ 1206:02181fa5ac9d modernize tip

Update to Django 1.9.
author Brian Neal <bgneal@gmail.com>
date Wed, 22 Jan 2025 17:58:16 -0600
parents d613d25a021e
children
comparison
equal deleted inserted replaced
1205:510ef3cbf3e6 1206:02181fa5ac9d
12 12
13 from accounts.models import PendingUser 13 from accounts.models import PendingUser
14 from accounts.forms import RegisterForm 14 from accounts.forms import RegisterForm
15 from accounts.forms import RegisterCodeForm 15 from accounts.forms import RegisterCodeForm
16 from accounts.forms import ForgotUsernameForm 16 from accounts.forms import ForgotUsernameForm
17 from accounts import create_new_user 17 from accounts.utils import create_new_user
18 from antispam.decorators import log_auth_failures 18 from antispam.decorators import log_auth_failures
19 19
20 20
21 logger = logging.getLogger('auth') 21 logger = logging.getLogger('auth')
22 22