Django-Chunks2
Installation:
Install using pip
$ pip install django-chunks2
Add the chunks application to INSTALLED_APPS in your settings file (usually settings.py)
Sync database (./manage.py syncdb or ./manage.py migrate)
Use chunks on your templates
{% load chunks %}
<html>
<head>
<title>Test</title>
</head>
<body>
<h1>Blah blah blah</h1>
<div id="sidebar">
...
</div>
<div id="left">
{% chunk "home_page_left" %}
</div>
<div id="right">
{% chunk "home_page_right" %}
</div>
</body>
</html>
Metadata
Release files for django-chunks2 2.8.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-chunks2-2.8.3.tar.gz | 9.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_chunks2-2.8.3-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 27.5 kB
Release files / django-chunks2-2.8.3.tar.gz
| Download URL | django-chunks2-2.8.3.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ede283338d091d26b0aa79010ad06cb84dbf4a50825e374be781704756e6001f
|
|
BLAKE2b-256 checksum How to use checksums |
fb61205de1eaf4af4afb4719fc445ece9b2943877ab61c8c4079037959edc0e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / django_chunks2-2.8.3-py2.py3-none-any.whl
| Download URL | django_chunks2-2.8.3-py2.py3-none-any.whl |
|---|---|
| Size | 18.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
2b8eec72d1365daa4c0f84faa519abdfc4ece76bfb03088ee08f8e2fc1349f42
|
|
BLAKE2b-256 checksum How to use checksums |
8e38444a1c9dcd1b62306ed65ca6f82e31a12844da9c15bcd6bd64fe080e53ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |