Re: filters on form objects

2006-10-26 Thread Patrick J. Anderson
RajeshD wrote: > >> Or do I have to pass this list of >> albums to the template: >> >> my_albums = Album.objects.filter(owner = request.user) > > This will work. > >> and then construct a select box based on that list. If so, I'd probably >> "break out" of {{ form.albums }} and loose {{

Re: filters on form objects

2006-10-26 Thread RajeshD
> Or do I have to pass this list of > albums to the template: > > my_albums = Album.objects.filter(owner = request.user) This will work. > > and then construct a select box based on that list. If so, I'd probably > "break out" of {{ form.albums }} and loose {{ form.errors }}. Is that so? No.