- ** BREAKING ** Drop support for Django versions earlier than 2.0
- Fix bug where request is not properly set on AuthenticationForm (#102)
- Fix bug where request not passed through on PasswordResetConfirmAndLoginView (#103)
- Make UserAdmin compatible with Django 2.0 - Fixes a bug where the password change link would not format correctly - Fixes a bug where BetterReadOnlyPasswordWidget would not work on a view only permission
- Fix bug when using Django 1.11 where resetting a password when already logged in as another user caused an error
- Remove support for Django versions below 1.11 and Python below 2.7 and 3.6
- Add support for Django 1.9, 1.10, 1.11 (Jared Proffitt #82)
- Remove old conditional imports dating as far back as Django 1.5
- Update readme
- Update various help_text fields to match Django 1.9 (Wenze van Klink #51, Gavin Wahl #64, Jared Proffitt #67, Ivan VenOsdel #69)
- Documentation fixes (Yuki Izumi #52, Pi Delport #60, Germán Larraín #65)
- Made case-insensitive tooling work with more than just USERNAME_FIELD='username' (Jared Proffitt, Rocky Meza #72, #73)
- Dropped Django 1.7 compatibility (Antoine Catton)
- Add Django 1.8 compatibility (Antoine Catton, Gavin Wahl, #56)
- Backwards Incompatible: Remove 1.6 URLs (Antoine Catton)
- Backwards Incompatible: Remove view functions
Added Django 1.7 compatibility (Antoine Catton, Rocky Meza, #35)
LoginView.disallow_authenticated
was changed toLoginView.allow_authenticated
LoginView.disallow_authenticated
was deprecated.Backwards Incompatible:
LoginView.allow_authenticated
is nowTrue
by default (which is the default behavior in Django)Create migrations for authtools.
If updating from an older authtools, these migrations must be run on your apps:
$ python manage.py migrate --fake authtools 0001_initial $ python manage.py migrate
- Add CaseInsensitiveEmailUserCreationForm for creating users with lowercased email address usernames (Bradley Gordon, #31, #11)
- Add CaseInsensitiveEmailBackendMixin, CaseInsensitiveEmailModelBackend for authenticating case-insensitive email address usernames (Bradley Gordon, #31, #11)
- Add tox support for test running (Piper Merriam, #25)
- PasswordChangeView now handles a
next
URL parameter (#24)
- Add friendly_password_reset view and FriendlyPasswordResetForm (Antoine Catton, #18)
- Bugfix Allow LOGIN_REDIRECT_URL to be unicode (Alan Johnson, Gavin Wahl, Rocky Meza, #13)
- Backwards Incompatible Dropped support for Python 3.2
- Update safe urls in tests
- Give the ability to restrain which users can reset their password
- Add send_mail to AbstractEmailUser. (Jorge C. Leitão)
- Bugfix: UserAdmin was expecting a User with a name field.
Django 1.6 support.
Django 1.6 broke backwards compatibility of the
password_reset_confirm
view. Be sure to update any references to this URL. Rather than using a separate view for each encoding, authtools uses a single view that works with both.Bugfix: if LOGIN_URL was a URL name, it wasn't being reversed in the PasswordResetConfirmView.
- Use
prefetch_related
in the UserChangeForm to avoid doing hundreds ofContentType
queries. The form from Django has the same feature, it wasn't copied over correctly in our original form.
- some bugfixes:
- Call
UserManager.normalize_email
on an instance, not a class. authtools.models.User
should inherit its parent'sMeta
.
- django-authtools