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

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


Download files

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

Source Distributions

django-generic-flatblocks-0.9.1.zip (42.4 kB view details)

Uploaded Source

django-generic-flatblocks-0.9.1.tar.gz (11.6 kB view details)

Uploaded Source

File details

Details for the file django-generic-flatblocks-0.9.1.zip.

File metadata

File hashes

Hashes for django-generic-flatblocks-0.9.1.zip
Algorithm Hash digest
SHA256 a423aeaa8acc15701a0cace0732a0ae1624e6ec721ec81630cf29c05b74f8e46
MD5 09fb9ac2d0919c5d3a25623f759a37cc
BLAKE2b-256 b116a1261c5531534b8b6309666ef8c67c7cc3ab94d5f86ed17cdc6131fecb83

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django-generic-flatblocks-0.9.1.tar.gz
Algorithm Hash digest
SHA256 98a18c1190e0eeed89ead68e524a7585f2b1c048c49ab9939c6211b05ff8c3a6
MD5 de668ad269e7a5fe94d50584669029bc
BLAKE2b-256 0bf0cec8266249e9cc641656f36b4d8652d939bb20e1021491fbc3b60978004f

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