Re: Date-based generic view not working

2009-08-11 Thread Thomas Jaggi
It was in fact the timezone. A few hours later it magically worked. ;) Thanks for your help! --~--~-~--~~~---~--~~ 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@goog

Re: Date-based generic view not working

2009-08-07 Thread Thomas Jaggi
Well, after setting 'allow_future' to true everything works fine. Since the entries were created today I don't really get this. I'm using the 'pub_date' as 'date_field' and it's definitely NOT in the future... --~--~-~--~~~---~--~~ You received this message because

Date-based generic view not working

2009-08-07 Thread Thomas Jaggi
I'm having some problems with a date-based view (using Django 1.1): Not working (no entries shown): info_dict = { 'queryset': Entry.objects.all(), 'date_field': 'pub_date', } urlpatterns = patterns('django.views.generic.date_based', (r'^$','ar