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.

MIDDLEWARE = [
    "django_migrate_middleware.MigrateMiddleware",
  # ...
]

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-2.0.0.tar.gz (1.8 kB view hashes)

Uploaded Source

Built Distribution

django_migrate_middleware-2.0.0-py3-none-any.whl (2.4 kB view hashes)

Uploaded Python 3

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