-Original Message-
From: django-users@googlegroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of [EMAIL PROTECTED]
Sent: Monday, May 14, 2007 5:42 PM
To: Django users
Subject: Re: urls/generic views/dict question.
Sorry I was unclear...
I'm currently using the same song_dict for both
Sorry I was unclear...
I'm currently using the same song_dict for both podcast and
playlist.xml, which is 'queryset': Song.objects.all(),
That's fine for the podcast. In the template I reverse sort it on
pub_date, and it's perfect.
But for playlist I want something like: 'queryset':
Song.objec
On Fri, 2007-05-11 at 09:14 -0700, [EMAIL PROTECTED] wrote:
> OK, I have song_dict, which gathers up songs:
> song_dict = {
> 'queryset': Song.objects.all(),
> 'allow_empty': 'true',
> }
>
> Which I pass to the podcast and playlist.xml. Playlist.xml is picked
> up by the flash player for
OK, I have song_dict, which gathers up songs:
song_dict = {
'queryset': Song.objects.all(),
'allow_empty': 'true',
}
Which I pass to the podcast and playlist.xml. Playlist.xml is picked
up by the flash player for folks who want to listen on-site:
(r'^radio/podcast.xml',
'django.views.ge
4 matches
Mail list logo