Skip to main content

A middleware retrieving a project version from settings and returning it in the response headers.

Project description

# django-version

A middleware retrieving a project version from settings and returning it in the response headers. It will append X-Project-Version: <a value> to every response.

## Installation `shell script $ pip install django-version `

## Usage 1. Append django_version to INSTALLED_APPS 1. Append django_version.VersionMiddleware to MIDDLEWARE 1. Set your project version inside to the setting key PROJECT_VERSION

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-version-1.0rc1.tar.gz (2.0 kB view hashes)

Uploaded Source

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