forked from tarak/django-password-policies
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Removed pytz dependency, closes tarak#47.
- Reenabled importing of get_current_site(), closes tarak#50 - Removed unused imports. - Cleaned up.
- Loading branch information
tarak
committed
Jul 7, 2016
1 parent
b5799f1
commit 1aa31f7
Showing
15 changed files
with
72 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
django-password-policies | ||
======================== | ||
|
||
|travis| |coverage| |landscape| |requires| |latest-version| |downloads| | ||
|
||
``django-password-policies`` is an application for the `Django`_ framework that | ||
provides unicode-aware password policies on password changes and resets and a | ||
mechanism to force password changes. | ||
|
||
.. |travis| image:: https://travis-ci.org/tarak/django-password-policies.svg?branch=master | ||
:target: https://travis-ci.org/tarak/django-password-policies | ||
.. |coverage| image:: https://coveralls.io/repos/tarak/django-password-policies/badge.svg?branch=master | ||
:target: https://coveralls.io/r/tarak/django-password-policies?branch=master | ||
.. |landscape| image:: https://landscape.io/github/tarak/django-password-policies/master/landscape.svg?style=flat | ||
:target: https://landscape.io/github/tarak/django-password-policies/master | ||
:alt: Code Health | ||
.. |requires| image:: https://requires.io/github/tarak/django-password-policies/requirements.svg?branch=master | ||
:target: https://requires.io/github/tarak/django-password-policies/requirements/?branch=master | ||
:alt: Requirements Status | ||
.. |latest-version| image:: https://img.shields.io/pypi/v/django-password-policies.svg | ||
:alt: Latest version on PyPI | ||
:target: https://pypi.python.org/pypi/django-password-policies | ||
.. |downloads| image:: https://img.shields.io/pypi/dm/django-password-policies.svg | ||
:alt: Monthly downloads from PyPI | ||
:target: https://pypi.python.org/pypi/django-password-policies | ||
|
||
.. _requirements: | ||
|
||
Requirements | ||
============= | ||
|
||
This application requires | ||
|
||
* `Django`_ 1.7 or newer | ||
* `django-easysettings`_ | ||
* `pytz`_ | ||
|
||
.. _documentation: | ||
|
||
Documentation | ||
============= | ||
|
||
A detailled documentation is available on `the project's GitHub Pages`_. | ||
|
||
.. _`the project's GitHub Pages`: http://tarak.github.com/django-password-policies | ||
.. _`Django`: https://www.djangoproject.com/ | ||
.. _`django-easysettings`: https://github.com/SmileyChris/django-easysettings | ||
.. _`pytz`: http://pythonhosted.org/pytz/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ Table of contents | |
:hidden: | ||
|
||
index | ||
|
||
.. toctree:: | ||
:maxdepth: 3 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
from datetime import datetime | ||
from datetime import timedelta | ||
|
||
from django.db import models | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
django>=1.7,<1.9 | ||
django>=1.7,<1.10 | ||
django-easysettings>=1.0 | ||
pytz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters