Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pyupio/pyup-django
Displays a red warning banner if you are running an insecure Django release.
https://github.com/pyupio/pyup-django
django security
Last synced: 29 days ago
JSON representation
Displays a red warning banner if you are running an insecure Django release.
- Host: GitHub
- URL: https://github.com/pyupio/pyup-django
- Owner: pyupio
- License: mit
- Created: 2016-10-28T14:56:02.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-26T20:26:12.000Z (almost 2 years ago)
- Last Synced: 2024-11-09T18:11:54.285Z (about 1 month ago)
- Topics: django, security
- Language: Python
- Homepage: https://pyup.io
- Size: 629 KB
- Stars: 70
- Watchers: 5
- Forks: 13
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.rst
- License: LICENSE
Awesome Lists containing this project
- starred-awesome - pyup-django - Displays a red warning banner if you are running an insecure Django release. (Python)
README
[![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.