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.
Appends X-Project-Version: a.b.c to every response.

Requirement Status Version Supported versions Supported implementations

Installation

$ pip install django-version

Usage

  1. Append django_version to INSTALLED_APPS
  2. Append django_version.VersionMiddleware to MIDDLEWARE
  3. Set your project version into the setting key PROJECT_VERSION as a string

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-version, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size django-version-1.0.0.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page