On Sat, Jan 17, 2009 at 12:12 AM, cptnwinky <cptnwi...@gmail.com> wrote:
> > Once again, thanks all for the help, I really do appreciate it. > > Karen, I've read that page at least 10 times in the past 24 hours. > Perhaps I just don't understand it though. The problem is that using > "filter" returns a queryset which does not contain the *_set function > that using "get" supplies. A QuerySet is a collection of results. Each item in the set is an instance. get returns a single instance. The *_set methods are instance methods, so you need to pull out an instance from the filter result QuerySet to get an object that you can use a _set method on. If you are trying to amass a full list of these things, you'll need to iterate over the QuerySet. 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-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 -~----------~----~----~----~------~----~------~--~---