Skip to main content


Project description

Preflight is a set of deploy checks for Django 1.8 and higher which inspect your settings and setup for common configuration errors on production environments. Often these are flags which are disabled during development (DEBUG = True) and can easily be overlooked before going live.

Built-in checks cover inspections for non-production settings in caches, databases, email, logging, storages, templates and more. They are opinionated, either for “common” packages (raven, django-compressor, …) or (in our eyes) optimal configurations, but Django’s check framework lets you silence the ones you do not need.


Run pip install git+

Add preflight to your INSTALLED_APPS setting:


Running checks

Checks are part of the Django deploy checks, you can run them with:

python check --deploy

Project details

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page