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.

Source Distribution

django-turbolinks-0.5.1.tar.gz (10.3 kB view hashes)

Uploaded Source

Built Distribution

django_turbolinks-0.5.1-py2.py3-none-any.whl (11.9 kB view hashes)

Uploaded Python 2 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