Skip to main content

A simple Django app to develope and deploy a Progressive Web Application (PWA).

Project description

PWA is a simple Django app to develope and deploy a Progressive Web Application.

Detailed documentation is in the “docs” directory.

Quick start

  1. Add “pwa” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        'pwa',
    ]
  2. Include the pwa URLconf in your project urls.py like this:

    path('', include('pwa.urls')),
  3. Run python manage.py collectstatic to get the PWA static files.

  4. Load pwa & its meta files in index HTML file like as:

    {% load pwa %}
    {% pwa_meta_data %}
    {% pwa_meta_script %}
  5. 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/

pypi: https://pypi.org/project/django-simple-pwa/

Project details


Download files

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

Source Distribution

django-simple-pwa-2.2.1.tar.gz (1.3 MB view hashes)

Uploaded Source

Built Distribution

django_simple_pwa-2.2.1-py3-none-any.whl (363.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page