A flatpages-like application for Django
Version: 0.1.2django-flatcontent is intended as a flatpages-like application, but for smaller chunks of content that can be edited in the Django admin.
License: BSD License
Operating System: Linux
Homepage: orcasinc.com
Developed by:
Installation:
1. Add the flatcontent directory to your Python path.
2. Add flatcontent to your INSTALLED_APPS.
3. Run the command manage.py syncdb to install the models.
Usage:
Once content is available in the FlatContent model, it can be accessed via the templates using the provided template tags:
{% load flatcontent_tags %}
< div id="footer" >
{% flatcontent footer %}
< /div >
The above will perform a slug lookup on the text "footer" and return the content associated with that slug.