django-siteblocks 0.5.0

Reusable application for Django introducing URL-dependent static and dynamic data blocks

http://github.com/idlesign/django-siteblocks

What's that

django-siteblocks is a reusable application for Django to build blocks of static or dynamic data that could be used in templates.

It allows you to describe data that doesn't clearly belong to any application in your project in terms of static or dynamic blocks, that could be rendered in certain places on site pages. These blocks are addressed in templates by their aliases.

Two siteblock types are supported:

  • Static. Those are defined using Django Admin contrib and are linked to certain URLs.

    This allows different siteblock contents on different URLs.

  • Dynamic. Those are ordinary Python functions registered as siteblocks returning contents.

    This allows complex logic to build siteblock contents.

If one and the same siteblock has more than one content associated with it, rendered content will be chosen randomly.

BSD 3-Clause License

Author

Igor `idle sign` Starikov

Pip

django-siteblocks==0.5.0

Classifiers

  • Environment :: Web Environment
  • Framework :: Django
  • Intended Audience :: Developers
  • Operating System :: OS Independent
  • Programming Language :: Python
  • Programming Language :: Python :: 2
  • Programming Language :: Python :: 2.7
  • Programming Language :: Python :: 3
  • Programming Language :: Python :: 3.3
  • Development Status :: 4 - Beta
  • License :: OSI Approved :: BSD License
File Type Python Version Uploaded On Downloads
django-siteblocks-0.5.0.tar.gz Source April 6, 2015 1,214
Version Release Date
0.5.0 April 6, 2015
0.4.0 Dec. 30, 2014
0.3.0 Sept. 21, 2014
0.2.1 Jan. 29, 2014
0.2.0 Dec. 3, 2013
0.1.1 Oct. 13, 2010
Date Package Version Action
Aug. 26, 2015, 12:25 a.m. django-siteblocks 0.5.0 Release Created
Aug. 26, 2015, 12:25 a.m. django-siteblocks 0.1.1 Release Created
Aug. 26, 2015, 12:25 a.m. django-siteblocks 0.4.0 Release Created
Aug. 26, 2015, 12:25 a.m. django-siteblocks 0.2.1 Release Created
Aug. 26, 2015, 12:25 a.m. django-siteblocks 0.2.0 Release Created
Aug. 26, 2015, 12:25 a.m. django-siteblocks 0.3.0 Release Created
Aug. 26, 2015, 12:25 a.m. django-siteblocks Package Created