Re: Trouble with relations

2007-02-09 Thread Russell Keith-Magee
On 2/8/07, Henrik Lied <[EMAIL PROTECTED]> wrote: > > Hi there! > > I guess I'll have to call Entry.objects.filter(ARGS HERE), but exactly > what args I should use I don't know. The easiest way is to use the ``latest`` operator: FrontPageEntry.objects.latest('added') This will return the entry

Trouble with relations

2007-02-09 Thread Henrik Lied
Hi there! I'm currently working on a project which mixes user generated content with journalistic content. The system lets users vote on an article, and articles with many positive votes will come up in the admin-panel, so that the moderators can label the entry for front page status. class Fron