Django, but slower
Project description
Slow Django
Django, but slower
Ever thought that your project was too fast?
Install
pip install slow_django
# settings.py
import slow_django
SLOW_MIN = 2 # Minimum page load in seconds
SLOW_MAX = 10 # Maximum-ish page load in seconds
MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'slow_django.middleware.slowdown'
]
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
slow-django-1.1.0.tar.gz
(1.8 kB
view hashes)
Built Distribution
Close
Hashes for slow_django-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d45914abb8ea36bd157b408e3ba4f613f040b3e38f17587d568ab387410eb33a |
|
MD5 | f72573997463630a8cace1795d4c8ff9 |
|
BLAKE2b-256 | 84ddb39ca5d9d7d2385918ce6fe934ea61e1b5d2fef0c4921f01095429ed7a23 |