On Nov 22, 2005, at 7:36 AM, Krzysztof Drozd wrote:
it would by nice to have a new extra field in the django admin panel thats can work as a publish un publish poll/site/... or publish_on_date.
This is best done at the view level; an object is an object and the database shouldn't know about pesky things like publication schedules. All you've got to do is add a "pub_date" field to your objects, then in your view do:
object_list = module.get_list(pub_date__lte=datetime.datetime.now()) to fetch all objects with a pub date before today. Jacob