Skip to content
A flatpages/flatblock application using generic relations to content models.
Find file
New pull request
Fetching latest commit...
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
django_generic_flatblocks Revert "Added modeltranslation support"
docs Added additional step in docs/configuration.rst. A default django pro…
example_project The templatetag will raise an exception if a related object is not fo…
AUTHORS cleaned up everything and made a subpackage for contributed blocks
LICENSE Added a LICENSE file, this is a BeerSD License ;) added a setup script and bumped up to version 0.1
README Bumped up to v0.9.1



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

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.

.. _`django-flatblocks`:
.. _`django-chunks`:


Documenation is available online under:


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.
Something went wrong with that request. Please try again.