Thanks, both of you - I get it now.

On Oct 9, 6:22 pm, "Bogdan I. Bursuc" <bogdanbursu...@gmail.com>
wrote:
> I know the shell and view are the same i meant the view and the template
> are different, you didn't specify the brackets after the all method
> like: all(), this because your might be used with the template syntax, I
> made this mistake, too. That why i was telling you about the difference
> between view/template syntax, not view/shell.
>
> On Fri, 2009-10-09 at 01:16 -0700, Daniel Roseman wrote:
> > On Oct 9, 9:06 am, Eva Hamilton <hamilton...@gmail.com> wrote:
> > > Oops, sorry, that's a typo in the post - but not present in the actual
> > > code.
>
> > > It should have read...
>
> > > world = Species.objects.all.select_related()
>
> > No, it shouldn't. Compare your original:
>
> > > > > >>> world = Species.objects.all().select_related()
>
> > The syntax in the shell is *exactly* the same as in the view. Why
> > should it be different?
> > --
> > DR.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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