Hi. I have a situation where I store a pickle in a field that I'd like
to unpickle for an update form and on save pickle again. What would be
the best approach for this scenario given the current or future
possibilities of admin customization.
Regards,
David
Jacob Kaplan-Moss wrote:
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