Hi Frank, Thanks for the reference link. The month_format argument was exactly what I was looking for. I also didn't know that the default was set to '%b'. Once I explicitly added it in, it worked.
I did this: entry_info_dict = { 'queryset': Entry.live.all(), 'date_field': 'pub_date', 'month_format': '%m', } And now the views are resolving correctly. Thanks for your help! On Feb 11, 6:24 pm, Frank Becker <f...@alien8.de> wrote: > twampss [2009-02-11, 23:14 +0100]: > > Hi, > > > I've been following James Bennett's "Practical Django Projects" > > alongside of Brett Haydon's very helpful post > >http://blog.haydon.id.au/2008/08/notes-on-practical-django-projects.html > > and came across an issue when wanting to change the format of the URLs > > in my blog application. > > > For any blog entry, the URL will look something like "/blog/2009/feb/ > > 10/some-post/". My goal is to change it to "/blog/2009/02/10/some- > > post/". Change the month abbreviation to its respective number. > > [...] > Search for month_format e. g. on: > http://www.djangobook.com/en/1.0/appendixD/ > assuming you are using generic views. > > hth, > > Frank > > -- > Frank Becker <f...@alien8.de> (smtp|jabber) > GnuPG: 0xADC29ECD | F01B 5E9C 1D09 981B 5B40 50D3 C80F 7459 ADC2 9ECD > SILC-Net: a8 | Home:http://www.alien8.de| <<</>>http://www.c3d2.de > "> Freedom is just chaos, with better lighting. <" Alan Dean Foster > > signature.asc > < 1KViewDownload --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---