Skip to main content

Run migrations on every request

Project description

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

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

django_migrate_middleware-3.0.0.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file django_migrate_middleware-3.0.0.tar.gz.

File metadata

File hashes

Hashes for django_migrate_middleware-3.0.0.tar.gz
Algorithm Hash digest
SHA256 dd3423f0bdd5fd270958bc707344a245d92cb71d0392aa10dd0334739248a671
MD5 33558c006ebc68c438666ff2720c71b6
BLAKE2b-256 5f18a4469f17b7100f4108ed687a90b6649d40905f09f8cb2c1dca16cced8201

See more details on using hashes here.

File details

Details for the file django_migrate_middleware-3.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_migrate_middleware-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d37e3ffe8272262a3a84be906290759a90ca075a9618bfd70fed7392733b516c
MD5 850e18e620d21d1cd0dd982312414fbf
BLAKE2b-256 d44388bcbf35d725ab711b8204370750aa5ca5f35682faae0f732b36ecf0a738

See more details on using hashes here.

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