mirror of
https://github.com/jazzband/django-defender.git
synced 2026-03-16 22:10:32 +00:00
bumped the version to 0.3.2 and made it so it installs easier with django 1.8
This commit is contained in:
parent
5fb01aed3f
commit
b7ba33c549
4 changed files with 28 additions and 4 deletions
|
|
@ -9,7 +9,8 @@ python:
|
|||
|
||||
env:
|
||||
- DJANGO=Django==1.6.11
|
||||
- DJANGO=Django==1.7.7
|
||||
- DJANGO=Django==1.7.8
|
||||
- DJANGO=Django==1.8.2
|
||||
|
||||
services:
|
||||
- redis-server
|
||||
|
|
|
|||
21
CHANGES
21
CHANGES
|
|
@ -1,3 +1,24 @@
|
|||
0.3.2
|
||||
=====
|
||||
added ``DEFENDER_LOCK_OUT_BY_IP_AND_USERNAME``, and changed settings to support
|
||||
django 1.8.
|
||||
|
||||
0.3.1
|
||||
=====
|
||||
fixed the management command name
|
||||
|
||||
0.3
|
||||
===
|
||||
|
||||
- Added management command ``cleanup_django_defender`` to clean up access
|
||||
attempt table.
|
||||
- Added ``DEFENDER_STORE_ACCESS_ATTEMPTS`` config to say if you want to
|
||||
store attempts to DB or not.
|
||||
- Added ``DEFENDER_ACCESS_ATTEMPT_EXPIRATION`` config to specify how long
|
||||
to store the access attempt records in the db, before the management command
|
||||
cleans them up.
|
||||
- changed the Django admin page to remove some filters which were making the
|
||||
page load slow with lots of login attempts in the database.
|
||||
|
||||
0.2.2
|
||||
=====
|
||||
|
|
|
|||
|
|
@ -22,6 +22,8 @@ Sites using Defender:
|
|||
|
||||
Versions
|
||||
========
|
||||
- 0.3.2 - added ``DEFENDER_LOCK_OUT_BY_IP_AND_USERNAME``, and changed settings
|
||||
to support django 1.8.
|
||||
- 0.3.1 - fixed the management command name
|
||||
- 0.3
|
||||
- Added management command ``cleanup_django_defender`` to clean up access
|
||||
|
|
|
|||
6
setup.py
6
setup.py
|
|
@ -9,7 +9,7 @@ except ImportError:
|
|||
from distutils.core import setup
|
||||
|
||||
|
||||
version = '0.3.1'
|
||||
version = '0.3.2'
|
||||
|
||||
|
||||
def get_packages(package):
|
||||
|
|
@ -68,7 +68,7 @@ setup(name='django-defender',
|
|||
include_package_data=True,
|
||||
packages=get_packages('defender'),
|
||||
package_data=get_package_data('defender'),
|
||||
install_requires=['Django>=1.6,<1.8', 'redis==2.10.3',
|
||||
'hiredis==0.1.6', 'mockredispy==2.9.0.10'],
|
||||
install_requires=['Django>=1.6,<1.9', 'redis==2.10.3',
|
||||
'hiredis==0.2.0', 'mockredispy==2.9.0.11'],
|
||||
tests_require=['mock', 'mockredispy', 'coverage', 'celery'],
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue