Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install django-generic-flatblocks

How to install django-generic-flatblocks

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install django-generic-flatblocks
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.9.1 Available View build log
Windows (64-bit)
0.9.1 Available View build log
Mac OS X (10.5+)
0.9.1 Available View build log
Linux (32-bit)
0.9.1 Available View build log
Linux (64-bit)
0.9.1 Available View build log
 
Author
Lastest release
version 0.9.1 on Jan 5th, 2011

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.

Subscribe to package updates

Last updated Jan 5th, 2011

Download Stats

Last month:12

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.