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 hashes)

Uploaded Source

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

Uploaded Source

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