Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 5 additions & 42 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,42 +1,5 @@
[![safety](https://raw.githubusercontent.com/pyupio/pyup-django/master/safety-django.jpg)](https://pyup.io/safety/)


[![PyPi](https://img.shields.io/pypi/v/pyup-django.svg)](https://pypi.python.org/pypi/pyup-django)
[![Travis](https://img.shields.io/travis/pyupio/pyup-django.svg)](https://travis-ci.org/pyupio/pyup-django)

# About

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

![insecure](insecure.png)

# 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/](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](https://pyup.io) account. This is what makes projects like this possible.
# PyUp Django has been discontinued
We understand that you may not agree with this decision, but we hope you'll come to love one of our other tools.
### Consider:
* [Safety CLI](https://pyup.io/safety/), which has a free version.
* [Safety CI](https://pyup.io/safety/ci/), which is free for Open Source projects.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
version='0.4.0',
description="pyup-django checks your installed dependencies for known security vulnerabilities and displays them in the admin area.",
long_description=readme,
long_description_content_type="text/markdown",
author="pyup.io",
author_email='[email protected]',
url='https://github.com/pyupio/pyup-django',
Expand Down