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 FrontPageEntry(models.Model):
    added = models.DateTimeField(auto_now_add=True)
    entry_id = models.ForeignKey(Entry, raw_id_admin=True)


This model above is the one used to set the newest feature-article on
the front page.
What I'm a little confused about is how I'm going to get this
displayed!

I guess I'll have to call Entry.objects.filter(ARGS HERE), but exactly
what args I should use I don't know.


Can someone push me in the right direction? :-)


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to