Skip to main content

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:

http://docs.mahner.org/django-generic-flatblocks/

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-generic-flatblocks-0.9.tar.gz (11.4 kB view details)

Uploaded Source

File details

Details for the file django-generic-flatblocks-0.9.tar.gz.

File metadata

File hashes

Hashes for django-generic-flatblocks-0.9.tar.gz
Algorithm Hash digest
SHA256 5f8ddd27a53d1b428966422f4f690ee02d7d1943401c2366ee5691d3c38cef3f
MD5 727eeeb33a57199447943610f6e47f07
BLAKE2b-256 c01108f5c93637221fff58dd27417c39c912f44b285d4944e5b9f2d54995a590

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page