django_qbe 0.2.0

Django admin tool for custom reports

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
AGPL (Affero General Public License) 
USER RATING:
5.0/5 1
DEVELOPED BY:
Javier de la Rosa
HOMEPAGE:
versae.github.com
CATEGORY:
ROOT \ Internet \ Django Plugins
django-qbe's goal is to provide a assited and interactive way of making complex queries with no technical knowledge (or minimal) to get custom reports from the objects of Django models.

Based on QBE proposal from IBM®, django-qbe is intended to remove the limitations of Django QuerySets objects and to use the whole expresive power of the subjacent SQL.

Installation

There's no setup.py script, neither easy_install yet, but I hope yes in the near future. By the moment, you must download the django_qbe directory using git:

git clone git://github.com/versae/qbe.git
cp -r qbe/django_qbe /path/to/your/project


Adding to the project settings:

INSTALLED_APPS = (
 # [...] django builtins applications
 'django_qbe',
 # [...] Any other application
)


And adding the urlconf in your project urls.py:

# qbe
url(r'^qbe/', include('django_qbe.urls')),


You must not forgive link or copy the django_qbe/media/django_qbe directory in your project media directory:

 ln -s django_qbe/media/django_qbe /path/to/your/project/media/

That's all. Then you can access to http://host:port/qbe However, you can add a link from your admin page changing the admin index template fo your AdminSite:

class AdminSite(admin.AdminSite):
 index_template = "qbe_index.html"


Or adding in your custom admin index template the next javascript:

< script type="text/javascript" src="{% url qbe_js %}" >< /script >

Settings

The next lines show de available settings and its default values.

Enable autocompletion tool (work in progress, not enabled yet):

QBE_AUTOCOMPLETE = True

Enable an Exhibit faceted navigation for results (not yet implemented):

QBE_EXHIBIT = False

Admin module name to add admin urls in results:

QBE_ADMIN = "admin"

Function to control to users with access to QBE:

QBE_ACCESS_FOR = lambda user: user.is_staff

Path to QBE formats export file, in order to add custom export formats:

QBE_FORMATS_EXPORT = "qbe_formats"

Last updated on May 22nd, 2011

requirements

#custom reports #Django reports #Django #reports #custom #qbe

Add your review!

SUBMIT