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": "..."}.
Project description
UNKNOWN
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
Close
Hashes for django-partial-page-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3521e1a71ce64fe58240644290d55406e71c8d91208e90ee7197783e87cade7 |
|
MD5 | dabb03430ef4c3a21d61af4e472268a7 |
|
BLAKE2b-256 | 81345d74008758eaec11b5a576fbb0a35cff325235d9d15a2e19d580ca2f6cd1 |