Skip to content

Commit

Permalink
release version 0.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kencochrane committed Jul 18, 2021
1 parent 5f5b34d commit 5d625dd
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
6 changes: 3 additions & 3 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
-----
Expand Down
10 changes: 5 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down Expand Up @@ -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'})
Expand Down Expand Up @@ -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',
}
Expand Down
2 changes: 1 addition & 1 deletion defender/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
VERSION = (0, 9, 0)
VERSION = (0, 9, 1)

__version__ = ".".join((map(str, VERSION)))
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def get_package_data(package):
"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",
Expand Down

0 comments on commit 5d625dd

Please sign in to comment.