> I think the problem is due to the month digit... The book opted to use
> the 3-letter month name vs the two digits... I personally like the
> month as digits so I changed the urls.py and models.py to use %m.

My coworker solved this problem for me:

entry_info_dict = {
        'queryset': Entry.objects.all(),
        'date_field': 'pub_date',
        'month_format': '%m',
}

I needed to pass "month_format" as %m to
django.views.generic.date_based... From what the docs say, the
date_based generic view defaults to %b.

So simple of a fix!

Thanks!
M

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to