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 {{
> 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.
2 matches
Mail list logo