skip to navigation
skip to content

Not Logged In

django-generic-flatblocks 0.9.1

A flatpages/flatblock application using generic relations to content models.

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.
 
File Type Py Version Uploaded on Size
django-generic-flatblocks-0.9.1.tar.gz (md5) Source 2010-05-22 11KB
django-generic-flatblocks-0.9.1.zip (md5) Source 2010-09-16 41KB
  • Downloads (All Versions):
  • 30 downloads in the last day
  • 291 downloads in the last week
  • 1338 downloads in the last month