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
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 Distribution
File details
Details for the file django-generic-flatblocks-0.9.tar.gz
.
File metadata
- Download URL: django-generic-flatblocks-0.9.tar.gz
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f8ddd27a53d1b428966422f4f690ee02d7d1943401c2366ee5691d3c38cef3f |
|
MD5 | 727eeeb33a57199447943610f6e47f07 |
|
BLAKE2b-256 | c01108f5c93637221fff58dd27417c39c912f44b285d4944e5b9f2d54995a590 |