Skip to content

dgladkov/django-turbolinks

Repository files navigation

django-turbolinks Build Status

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.