Skip to main content

Drop-in turbolinks implementation for Django

Project description

Drop-in turbolinks implementation for Django

Installation

$ pip install django-turbolinks

Configuration

  1. Add turbolinks.middleware.TurbolinksMiddleware after django.contrib.sessions.middleware.SessionMiddleware to your MIDDLEWARE_CLASSES setting.
  2. Add turbolinks to your INSTALLED_APPS setting.
  3. Run ./manage.py collectstatic
  4. Include /static/turbolinks/turbolinks.js script in your base template.

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-turbolinks, version 0.5.1
Filename, size File type Python version Upload date Hashes
Filename, size django_turbolinks-0.5.1-py2.py3-none-any.whl (11.9 kB) File type Wheel Python version 3.6 Upload date Hashes View
Filename, size django-turbolinks-0.5.1.tar.gz (10.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page