Skip to main content

Django app with user lock down

Project description

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.

Docs & Source

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ysk-django-lockdown-1.0.4.tar.gz (1.8 kB view hashes)

Uploaded Source

Built Distribution

ysk_django_lockdown-1.0.4-py3-none-any.whl (2.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page