I've raised Ticket 2445 and attached a small patch - it sounds similar to
Ticket 2193, but 2193 might be intended to be even more general (not just
values).
http://code.djangoproject.com/ticket/2445
http://code.djangoproject.com/ticket/2193
--~--~-~--~~~---~--~---
On Friday 28 July 2006 04:24, Simon Willison wrote:
> > ...
> > I've tested such a change on Django 0.95 - it seems to work OK.
>
> A neater way of doing that is to use the built-inr Python function
> callable():
>
> if callable(value):
> value = value()
>
> This seems like a neat addition to