YSK lock down to make user lock
This is a django application for user lock down after 5 incorrect attempts.
Installable App
This app models a list of items on a lockdown. This app can be installed and used in your django project by:
$ pip install ysk-django-lockdown
Edit your settings.py file to include 'lockdown' in the INSTALLED_APPS listing.
INSTALLED_APPS = [
...
'lockdown',
]
Edit your project urls.py file to import the URLs:
url_patterns = [
...
path('lockdown/', include('lockdown.urls')),
]
Finally, add the models to your database:
$ ./manage.py makemigrations lockdown
The "project" Branch
The master branch contains the final code for the PyPI package. There is also a project branch which shows the "before" case -- the Django project before the app has been removed.