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 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---