Displays a red warning banner if you are running an insecure Django release.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 4a3ec4e Jun 20, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github rename to pyup-django Feb 2, 2017
pyup_django added support for django 1.11 May 15, 2017
tests fix faked test Oct 28, 2016
.editorconfig initial Oct 28, 2016
.gitignore initial Oct 28, 2016
.travis.yml updated travis pass Feb 2, 2017
HISTORY.rst added support for django 1.11 May 15, 2017
LICENSE initial Oct 28, 2016
MANIFEST.in rename to pyup-django Feb 2, 2017
README.md Update README.md Jun 20, 2017
insecure.png updated the screenshot section Feb 2, 2017
requirements_dev.txt initial Oct 28, 2016
safety-django.jpg add new logo Jun 20, 2017
setup.cfg rename to pyup-django Feb 2, 2017
setup.py added support for django 1.11 May 15, 2017
tox.ini rename to pyup-django Feb 2, 2017

README.md

safety

PyPi Travis

About

Displays a red warning banner if you are running an insecure Django release.

insecure

Installation

Install pyup-django with pip:

pip install pyup-django

and add it to your INSTALLED_APPS, before django.contrib.admin

INSTALLED_APPS = [
    'pyup_django',
    'django.contrib.admin',
]

How does it work?

pyup-django extends the admin base template and checks https://pyup.io/api/v1/insecure/django/ if the currently installed Django release is insecure.

Requests to the API are cached for 24 hours and won't leak any sensitive information other than the servers IP address.

Support

If you are using pyup-django in one of your projects, please consider getting a paid pyup.io account. This is what makes projects like this possible.