i would do it the other way around.

I would create a featured_object model containig a DateField and an
ForeignKey to the Featured Thing.
This should be more performant for a big directory like dmoz,
sourceforge, freshmeat, happy penguin....
You could also add more Info this way. For Example you could add an
Text why this Thing is featured.

an example Query could look like this:

smurf_of_the_month = FeaturedSmurf.objects.filter(date__year=2009 +
date__month=05)


--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to