Skip to main content

Add web App install banner to django project

Project description


.. image::

.. image::

Add web App install banner to django project"


The full documentation is at


Install django-webapp-install-banner::

pip install django-webapp-install-banner

Add to your django file::

INSTALLED_APPS += ('webapp_install_banner',)
MIDDLEWARE_CLASSES += ('webapp_install_banner.middleware.WebAppMiddleware',)

"short_name": _("Project name"),
"name": _("Project log name"),
"icons": [
"src": "img/favicon-96x96.png",
"sizes": "96x96",
"type": "image/png"
"src": "img/apple-touch-icon-144x144.png",
"sizes": "144x144",
"type": "image/png"
"src": "img/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
"start_url": reverse_lazy("index"),
"display": "standalone"

Add to your

urlpatterns += (url(r'', include('webapp_install_banner.urls')),)

Add to your base template html header::

{% load webapp_tags %}
{% webapp_manifest %}


Adds a manifest.json file, and manages detecting if started from webapp.

TODO: Add service worker file.

Running Tests

Does the code actually work?


source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install -r requirements-test.txt
(myenv) $ python


Tools used in rendering this package:

* Cookiecutter_
* `cookiecutter-pypackage`_

.. _Cookiecutter:
.. _`cookiecutter-djangopackage`:


0.1.0 (2016-03-27)

* First release on PyPI.

Project details

Download files

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

Files for django-webapp-install-banner, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size django_webapp_install_banner-0.1.0-py2.py3-none-any.whl (7.8 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size django-webapp-install-banner-0.1.0.tar.gz (6.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page