Hi Tom,
thanks for the link, in case of 'datetime.date.today' the callable makes a lot
of sense.
I changed my class field so that the value is not more a class definition, now
it is wrapped by some kind of a proxy instance to avoid the callable effect.
--
Best Regards
Sven
On Thursday
On Wed, Jan 4, 2012 at 5:25 PM, sassman wrote:
> Hi,
>
> i'm using Django Version 1.3.1, can anyone say me why is the value
> function in BoundField (FormField) makes a check if the value is
> callable?
>
> def value(self):
> """
> Returns the value for this BoundField, using the
Hi,
i'm using Django Version 1.3.1, can anyone say me why is the value
function in BoundField (FormField) makes a check if the value is
callable?
def value(self):
"""
Returns the value for this BoundField, using the initial value
if
the form is not bound or the data ot
3 matches
Mail list logo