[EMAIL PROTECTED] wrote: > This should be really easy, but I haven't slept in a week and I'm not > that smart to begin with. I want to get an item of the day.. quote of > the day, tip of the day, whatever. > > I don't know how many of these items there will be. I am pretty sure I > want a template tag. > > Can someone point me in the right direction? Thanks.
I don't know if this is the "right" direction but I've had success using memcached to implement of the day items. If the item is in the cache it gets served. Otherwise I fetch from database and store in cache with expiration of 24 hours. -- Norman J. Harman Jr. 512 912-5939 Technology Solutions Group, Austin American-Statesman ___________________________________________________________________________ Get out and about this spring with the Statesman! In print and online, the Statesman has the area's Best Bets and recreation events. Pick up your copy today or go to statesman.com 24/7. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---