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
Release history Release notifications | RSS feed
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)