Skip to main content

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'
]

Release files for slow-django 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for slow-django 1.1.0
File Size Uploaded
slow-django-1.1.0.tar.gz 1.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for slow-django 1.1.0
File Interpreter ABI Platform
slow_django-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 3.7 kB

Release files / slow-django-1.1.0.tar.gz

Download URL slow-django-1.1.0.tar.gz
Size 1.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0acb252bcf035d57b4dc78a5d74d015e2abf13664c5c8de63369b002b9fba1fb
BLAKE2b-256 checksum
How to use checksums
12d6bbbb971be4833f783f3da5e23ab2a8861f71eb8b8eea39fadc4baa53b69a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.5 CPython/3.9.0b1+ Linux/5.4.0-7634-generic

Release files / slow_django-1.1.0-py3-none-any.whl

Download URL slow_django-1.1.0-py3-none-any.whl
Size 1.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d45914abb8ea36bd157b408e3ba4f613f040b3e38f17587d568ab387410eb33a
BLAKE2b-256 checksum
How to use checksums
84ddb39ca5d9d7d2385918ce6fe934ea61e1b5d2fef0c4921f01095429ed7a23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.5 CPython/3.9.0b1+ Linux/5.4.0-7634-generic

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page