Re: Practical Django Projects 2: Weblog urls.py help...

2010-05-11 Thread mhulse
> 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.o

Practical Django Projects 2: Weblog urls.py help...

2010-05-09 Thread mhulse
Hi, I am working my way through Practical Django Projects, 2nd addition, and I am having troubles getting the weblog permalink url to function. >From my urls.py: === entry_info_dict = { 'queryset': Entry.objects.all(), 'date_field': 'pub_date', } ... ... (r'^(?P\d{4}