In Bennet's book ,chapter4, decoupling the urls (page 74 in my
ebook) ,the name 'coltrane_entry_detail' is added to the urlpattern
for an entry and the get_absolute_url() method in class Entry makes
use of that name ,and permalink causes the method to output correct
url. But I can't understand why the names are given to the other url
patterns .For example the names
'coltrane_entry_archive_day' ,'coltrane_entry_archive_month' etc are
never used in any method in class Entry.Even if I remove it from the
urlpattern the entries will be listed properly and get_absolute_url in
template will point to the correct url.Can anyone explain why these
names are there?
thanks
harry

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