release version 0.9.1

This commit is contained in:
Ken Cochrane 2021-07-18 09:31:51 -04:00
parent 5f5b34d50e
commit 5d625dd273
4 changed files with 10 additions and 9 deletions

View file

@ -2,10 +2,10 @@
Changes
=======
Unreleased
----------
0.9.1
-----
* Fix failing tests for Django main development branch (Django 4.0)
- Fix failing tests for Django main development branch (Django 4.0) [@JonathanWillitts]
0.9.0
-----

View file

@ -109,7 +109,7 @@ Requirements
------------
* Python: 3.6, 3.7, 3.8, 3.9, PyPy
* Django: 2.2, 3.x
* Django: 2.2, 3.x, 4.x
* Redis
@ -495,12 +495,12 @@ Below is a sample ``BasicAuthenticationDefender`` class based on ``rest_framewor
from rest_framework.authentication import (
get_authorization_header,
)
# Get the UserModel
UserModel = get_user_model()
class BasicAuthenticationDefender(serializers.Serializer):
username = serializers.CharField(required=False, allow_blank=True)
email = serializers.EmailField(required=False, allow_blank=True)
password = serializers.CharField(style={'input_type': 'password'})
@ -645,7 +645,7 @@ To make it work add ``BasicAuthenticationDefender`` to ``REST_AUTH_SERIALIZERS``
For example, in your settings.py add the below line,
.. code-block:: python
REST_AUTH_SERIALIZERS = {
'LOGIN_SERIALIZER': '<path to your basic authentication defender python file>.BasicAuthenticationDefender',
}

View file

@ -1,3 +1,3 @@
VERSION = (0, 9, 0)
VERSION = (0, 9, 1)
__version__ = ".".join((map(str, VERSION)))

View file

@ -34,6 +34,7 @@ setup(
"Framework :: Django :: 2.2",
"Framework :: Django :: 3.1",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",