![PyPI - Versions from Framework Classifiers](https://img.shields.io/pypi/frameworkversions/django/django-simple-pwa) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/django-simple-pwa) ![PyPI - Implementation](https://img.shields.io/pypi/implementation/django-simple-pwa) ![PyPI - Wheel](https://img.shields.io/pypi/wheel/django-simple-pwa)
PWA is a simple Django app to develop and deploy a Progressive Web Application.
Detailed documentation is in the "docs" directory.
Add "pwa" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ..., 'pwa', ]
Include the pwa URLconf in your project urls.py like this:
path('', include('pwa.urls')),
Run
python manage.py collectstatic
to get the PWA static files.Load pwa & its meta files in index HTML file like as:
{% load pwa %} {% pwa_meta_data %} {% pwa_meta_script %}
Start the development server on HTTPS or localhost to see installable app.
github: https://github.com/bambier/django-simple-pwa
documents: https://django-simple-pwa.readthedocs.io/fa/latest/