On 2/28/07, Nicolas Steinmetz <[EMAIL PROTECTED]> wrote: > I added the following piece of "code" in settings.py (is it the right > place ?) but it does not work (it looks it's not take into account with > django svn 4643). > > ABSOLUTE_URL_OVERRIDES = { > 'cab.Language' : lambda o: "/snippets/languages/%s/" % o.slug, > }
I've just opened ticket #3646, which notes the problem here -- there's an inconsistency between the docs and how we actually look things up in ABSOLUTE_URL_OVERRIDES -- and a couple possible solutions. Nicolas, for the time being you can work around this by specifying 'cab.language' in ABSOLUTE_URL_OVERRIDES instead of 'cab.Language'. -- "Bureaucrat Conrad, you are technically correct -- the best kind of correct." --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---