On Sun, Dec 20, 2009 at 8:17 AM, BobAalsma <bob.aal...@aalsmacons.nl> wrote:

> I'm following the The Django Book 2.0, trying to learn Django.
> I'm on Apple OS X10.5.8, Python 2.5.1.
> I have looked at FAQ, mailing lists, etc. but did not find any
> situation looking like this.
>
> Question:
> although all other parts seem to work as described in the book,
> the .is_valid returns an unexpected non Boolean answer - how to addres
> this?
>

is_valid is a method.  You need to call it in order to get its return value:

f.is_valid()

not:

f.is_valid

Karen

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.


Reply via email to