mjumbewu/django-model-blocks — Issue #1: Option for specifying a template to render with
Author: sebpiq
Created: 2011-11-02 18:32:34+00:00
State: open

A possible syntax would be :

{% detail_block pepulator template="pepulator_factory/knuckle_detail.html" %}

I haven't really checked what is the django-way of passing parameters to a template tag though ... I think it is actually not very common. Why not :

{% detail_block pepulator with "pepulator_factory/knuckle_detail.html" %}

What would be really cool is that the template name would be optional, and the tag would look-up automatically for "/_detail_block.html", like django generic views do for example ...