A flatpages/flatblock application using generic relations to content models.
Project description
If you want to add tiny snippets of text to your site, manageable by the admin backend, you would use either django-chunks or django-flatblocks. However, both of them have one problem: you are limited to a predefined content field; a “text” field in chunks and a “title” and “text” field in flatblocks.
django-generic-flatblocks solves this problem as it knows nothing about the content itself. You attach your hand made content node (a simple model) where you can define any fields you want.
Documentation
Documenation is available online under:
Changelog
0.9.1 (backwards compatible):
Django 1.2 compatibility! Fixed a bug where tests did not pass under Django 1.2. Thanks to Brian Rosner for this.
v0.9 (backwards compatible):
Fixed a bug where an integer was not allowed as a part of a slug.
v0.4 (backwards compatible):
Added Danish translation.
Added better documentation.
Added unittests.
If you fetch a not existing “primary key” object the templatetag will fail silently if settings.TEMPLATE_DEBUG is False.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
File details
Details for the file django-generic-flatblocks-0.9.1.zip
.
File metadata
- Download URL: django-generic-flatblocks-0.9.1.zip
- Upload date:
- Size: 42.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a423aeaa8acc15701a0cace0732a0ae1624e6ec721ec81630cf29c05b74f8e46 |
|
MD5 | 09fb9ac2d0919c5d3a25623f759a37cc |
|
BLAKE2b-256 | b116a1261c5531534b8b6309666ef8c67c7cc3ab94d5f86ed17cdc6131fecb83 |
File details
Details for the file django-generic-flatblocks-0.9.1.tar.gz
.
File metadata
- Download URL: django-generic-flatblocks-0.9.1.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98a18c1190e0eeed89ead68e524a7585f2b1c048c49ab9939c6211b05ff8c3a6 |
|
MD5 | de668ad269e7a5fe94d50584669029bc |
|
BLAKE2b-256 | 0bf0cec8266249e9cc641656f36b4d8652d939bb20e1021491fbc3b60978004f |