Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

Easy use service workers and the app shell concept for django.

Project Description

Inspired by the Using Django with service workers talk by Adrian Holovaty from the DjangoCon Europe 2016, django-app-shell aims to provide an easy to use and configure way of utilizing the app shell architecture from google.

Documentation

The full documentation is at https://django-app-shell.readthedocs.io.

Quickstart

Install Django App Shell:

pip install django-app-shell

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'django_app_shell.apps.DjangoAppShellConfig',
    ...
)

Add Django App Shell’s URL patterns:

from django_app_shell import urls as django_app_shell_urls


urlpatterns = [
    ...
    url(r'^', include(django_app_shell_urls)),
    ...
]

Features

  • client side caching using service worker (TODO)
  • easy push notification API (TODO)
  • offline use of page/features using service worker (TODO)

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox

Credits

Tools used in rendering this package:

History

0.1.0 (2017-05-28)

  • First release on PyPI.
Release History

Release History

This version
History Node

0.1.0

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting