Django application which tries to be annoying if your Django version is outdated
If you want to install the latest stable release from PyPi:
$ pip install django-versioncheck
If you want to install the latest development version from GitHub:
$ pip install -e git://github.com/byteweaver/django-versioncheck#egg=django-versioncheck
Add versioncheck
to your INSTALLED_APPS
:
INSTALLED_APPS = (
...
'versioncheck',
...
)
At the momement django-versioncheck does just provide a simple management command to display the installed django version and the latest upstream version on PYPI.
$ python manage.py checkversion
Hook this app into your urls.py:
urlpatterns = patterns('',
...
url(r'^versioncheck/', include('versioncheck.urls', namespace='versioncheck')),
...
)
WARNING: This view is not secured and exposes your current Django version, use with caution!
The current version is developed to be used with Python 3 and only tested on this major version.
See Changelog.md
file.
It is just a protoype, most features are not ready yet.