Skip to main content

Django Migrate Middleware

Run migrations on every request

Install

pip install django-migrate-middleware

In the django settings file add package to the middleware settings.

INSTALLED_APPS = [
    ...
    "migrate_middleware"
    ...
]

MIDDLEWARE = [
    "migrate_middleware.MigrateMiddleware",
    ...
]

Configuration

  • MIGRATE_MIDDLEWARE_COLOR_OUTPUT: force color output

Metadata

Release files for django-migrate-middleware 3.0.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 django-migrate-middleware 3.0.0
File Size Uploaded
django_migrate_middleware-3.0.0.tar.gz 7.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-migrate-middleware 3.0.0
File Interpreter ABI Platform
django_migrate_middleware-3.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.2 kB

Release files / django_migrate_middleware-3.0.0.tar.gz

Download URL django_migrate_middleware-3.0.0.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
dd3423f0bdd5fd270958bc707344a245d92cb71d0392aa10dd0334739248a671
BLAKE2b-256 checksum
How to use checksums
5f18a4469f17b7100f4108ed687a90b6649d40905f09f8cb2c1dca16cced8201
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release files / django_migrate_middleware-3.0.0-py3-none-any.whl

Download URL django_migrate_middleware-3.0.0-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d37e3ffe8272262a3a84be906290759a90ca075a9618bfd70fed7392733b516c
BLAKE2b-256 checksum
How to use checksums
d44388bcbf35d725ab711b8204370750aa5ca5f35682faae0f732b36ecf0a738
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release history Release notifications | RSS feed

This release

3.0.0 This release

2 release files

2.0.0

2 release files

1.0.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