On Feb 13, 2006, at 11:57 AM, Adrian Holovaty wrote:
Seems a bit boilerplatish, compared to a simple list of field names,
but the advantage of this would be that you could easily reuse
widget-specific templates. On the other hand, you could reuse
widget-specific templates with the field-name list by doing a simple
"{% extends %}" in the template.

Yes, reusing templates is why I'd suggested the dict -- but I somehow forgot about ``{% extends %}``. Given that, I agree that just a list of names is best. So for fields named in ``custom_templates``, the admin will look in each of those four places for a template?

Jacob

Reply via email to