PWA
PWA is a simple Django app to develope and deploy a Progressive Web Application.
Detailed documentation is in the "docs" directory.
Quick start
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/nimaes80/django-simple-pwa
documents: https://django-simple-pwa.readthedocs.io/fa/latest/