Skip to main content


Project description

* Django-quickblocks

** Overview
Django Quickblocks is a plugable Django based web application. Quickblocks has been developed to be more generic
on how contents are being integrated within web applications.

Quickblocks key factor is how easy it is to categorize contents depending on where and how you want to display them by
giving the users the power to use their creativity. Designing django-quickblocks we have focused on how
contents are being displayed from thousand sites and from there we managed to make it more generic.

Quickblocks makes content management for average general sites a blast.

** Features
- Create quickblock types
- Create different quicblock from quickblock type
- Use fields of your choice (quickblocks type maybe used most of the time.)
- Template tags that integrates quickblocks in the template on the fly
- more...

** Download

*** From Github
You can always get the latest version of django-quickblocks from github. Using git you can clone the django-quickblocks
or download either zipped version within your favorite browser and put it into your project folder.

My prefered way is to have requirements into a simple text file in the root of your project.
We like to call it =pip-requires.txt=(your choice).
Put =-e git+ on its own line
and install everything in the file as following:
pip install -r pip-requires.txt

** Configuration
To enable django-quickblocks for your project edit the projects and add the following:
Other apps ...

Then syncronize your database to include these apps
% python syncdb

** Getting Started
Once you have quickblock types and quickblocks it is time to display them in the template. There is where template tags comes into play.

This app offers one templatetag =load_quickblocks=. Which does a query for all active Quickblock objects for the passed QuickblockType
identified by its slug. You can then access that list within your context.

It accepts one parameter the =slug=

*** Syntax
{% load_quickblocks [name] %}

*** Example usage:
{% load_quickblocks %}
{% load_quickblocks "home_banner_blocks" %}
**** Note:
You may also use the shortcut tag =load-qbs= as ={% load_qbs "home_banner_blocks" %}=

If you specify a slug that hos noi associated quicl block, then an error message will be inserted in your
template. You man change this text by setting the value fothe =QUICKBLOCK_IF_INVALID= in your settings

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-quickblocks, version 0.9
Filename, size File type Python version Upload date Hashes
Filename, size django-quickblocks-0.9.tar.gz (4.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page