You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 "<app_label>/<model_name>_detail_block.html", like django generic views do for example ...
The text was updated successfully, but these errors were encountered:
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 "<app_label>/<model_name>_detail_block.html", like django generic views do for example ...
The text was updated successfully, but these errors were encountered: