would this actually work? I thought this would have been evaluated when you start up the process, and the show_dict is first called. not on every request (which is what they want I'm guessing)
regards Ian. On 17/08/2006, at 5:30 AM, [EMAIL PROTECTED] wrote: > > Do I need to import datetime into urls.py or something? > > I'm passing > show_dict = { > 'queryset': Show.objects.filter(show_date__gte=datetime.now()), > 'template_object_name': 'show', > 'allow_empty': 'true', > } > > but it throws an error: > NameError at /shows/ > name 'datetime' is not defined > > > > -- Ian Holsman [EMAIL PROTECTED] http://peopleintopoker.com/ -- where the poker people go --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---