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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file ysk-django-lockdown-1.0.4.tar.gz.

File metadata

  • Download URL: ysk-django-lockdown-1.0.4.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.5.2

File hashes

Hashes for ysk-django-lockdown-1.0.4.tar.gz
Algorithm Hash digest
SHA256 f47b83b31c38826867869769b2a3db73c76e310efcf834403335363c7fc5f3e7
MD5 6d20cbc44fa056a6f68b05a173b2ee9b
BLAKE2b-256 9d4b90d38cde451d7d6fad6eebaedc0e2a605f72f2cf6cd55315cbfdea5226da

See more details on using hashes here.

File details

Details for the file ysk_django_lockdown-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: ysk_django_lockdown-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.5.2

File hashes

Hashes for ysk_django_lockdown-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c1f6bff92bffda51db76f1d79d32c5ccbe4d5539d677ebd86977e213665b36e1
MD5 4f58c5ad60c658b735c1c3c0c9cedc17
BLAKE2b-256 e9b6c68e4d479d735d89b49ca20b904534c3a2089bf33c3af6530e53a931e0d1

See more details on using hashes here.

Supported by

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