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
$ pip install django-version
Usage
- Append
django_version
toINSTALLED_APPS
- Append
django_version.VersionMiddleware
toMIDDLEWARE
- Set your project version inside to the setting key
PROJECT_VERSION