Django-partial-page

Latest version: v0.4.1

The latest version of django-partial-page with no known security vulnerabilities is 0.4.1. We recommend installing version 0.4.1.

The information on this page was curated by experts in our Cybersecurity Intelligence Team.

Latest release
v0.4.1 at May 2, 2017
License
None

Description

Middleware that extracts {% block-s %} from pages and sends them as JSON. This allows the clients update parts of the pages, which is useful for Ajax apps and sites using History.PushState. If /mypage/ has {% block main_content %} in the template, make a request /mypage/?partial=main_content, and you'll receive a JSON: {"main_content": "..."}. The example Django project in the BitBucket contains a working JavaScript module that handles these requests and does something more.

Resources

Vulnerabilities

See all vulnerabilities

No known vulnerabilities found

Versions (8)

See all versions

Has known vulnerabilities

  • 0.4.1
  • 0.4.0
  • 0.3.2
  • 0.3.1
  • 0.3.0
  • 0.2.0
  • 0.1.1
  • 0.1.0