Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

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

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 django_generic_flatblocks
Octocat-spinner-32 docs
Octocat-spinner-32 example_project
Octocat-spinner-32 AUTHORS
Octocat-spinner-32 LICENSE
Octocat-spinner-32 MANIFEST.in
Octocat-spinner-32 README
Octocat-spinner-32 setup.py
README
=========================
django-generic-flatblocks
=========================

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.

.. _`django-flatblocks`: http://github.com/zerok/django-flatblocks/tree/master
.. _`django-chunks`: http://code.google.com/p/django-chunks/

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