Small postscript to the above:

On 21 August, Jannis Leidel (http://jannisleidel.com/)  posted that he
was using something like Erik's code:

from django.core.urlresolvers import reverse
ABSOLUTE_URL_OVERRIDES = {
    'coltrane.entry': lambda o: reverse('coltrane_entry_detail',
kwargs={
                                            'year':
o.pub_date.strftime('%Y'),
                                            'month':
o.pub_date.strftime('%m'),
                                            'slug': o.slug }),
}

and a few days later he added "UPDATE: Seems like Django 1.0 broke
this. Trying to figure out why.. ", which nicely demonstrates
Malcolm's warning not to do this.


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to