Skip to main content

Django pipstatus

Project description

# django-pipstatus

django-pipstatus provides simple templatetag and page that shows the status of your pip installation.

## Installation

Add 'pipstatus' to your INSTALLED_APP.

## Setup dedicated URL

add pipstatus.url to your urls.py

```python
urlpatterns = [
url(r'^admin/', include(admin.site.urls)),
url(r'^pipstatus/', include(pipstatus.urls)),
]
```

## Setup own view

Define a view and a template somewhere

```python
def pipconfig2(request):
return render(request, "my_template.html")
```
```html
{% extends "base.html" %}
{% block content %}
<h1>My PIP Page</h1>
{% include "pipstatus.html" %}
{% endblock %}
```

## Define your own template structure

```html
{% load pipstatus %}
{% get_pipstatus as config %}
{% for x in config.entries %}
{% if x.outdated %}
x.name is outdated!<br>
{% endif %}
{% endfor %}
```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django_pipstatus-0.1.3-py2.py3-none-any.whl (6.5 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Nov 27, 2015
django-pipstatus-0.1.3.tar.gz (4.1 kB) Copy SHA256 hash SHA256 Source None Nov 27, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page