A flatpages/flatblock application using generic relations to content models.
Python HTML
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
django_generic_flatblocks
docs
.coveragerc
.gitignore
.travis.yml
CHANGELOG
LICENSE
MANIFEST.in
README.rst
runtests.py
setup.py
tox.ini

README.rst

https://travis-ci.org/bartTC/django-generic-flatblocks.svg?branch=master https://codecov.io/github/bartTC/django-generic-flatblocks/coverage.svg?branch=master

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.

Documentation

Documenation is available online under:

http://readthedocs.org/docs/django-generic-flatblocks/en/latest/