mirror of
https://github.com/jazzband/django-axes.git
synced 2026-03-16 22:30:23 +00:00
Version 4.5.0
Fixes #384 Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
This commit is contained in:
parent
87f4fa2ccc
commit
b18c666ec1
2 changed files with 24 additions and 1 deletions
23
CHANGES.txt
23
CHANGES.txt
|
|
@ -1,6 +1,29 @@
|
|||
Changes
|
||||
=======
|
||||
|
||||
4.5.0 (2018-12-25)
|
||||
------------------
|
||||
|
||||
- Improve support for custom authentication credentials using the
|
||||
``AXES_USERNAME_FORM_FIELD`` and ``AXES_USERNAME_CALLABLE`` settings.
|
||||
[mastacheata]
|
||||
|
||||
- Updated behaviour for fetching username from request or credentials:
|
||||
If no ``AXES_USERNAME_CALLABLE`` is configured, the optional
|
||||
``credentials`` that are supplied to the axes utility methods
|
||||
are now the default source for client username and the HTTP
|
||||
request POST is the fallback for fetching the user information.
|
||||
``AXES_USERNAME_CALLABLE`` implements an alternative signature with two
|
||||
arguments ``request, credentials`` in addition to the old ``request``
|
||||
call argument signature in a backwards compatible fashion.
|
||||
[aleksihakli]
|
||||
|
||||
- Add official support for the Django 2.1 LTS version and Python 3.7.
|
||||
[aleksihakli]
|
||||
|
||||
- Improve the requirements, documentation, tests, and CI setup.
|
||||
[aleksihakli]
|
||||
|
||||
4.4.3 (2018-12-08)
|
||||
------------------
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
from __future__ import unicode_literals
|
||||
|
||||
__version__ = '4.4.3'
|
||||
__version__ = '4.5.0'
|
||||
|
||||
default_app_config = 'axes.apps.AppConfig'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue