On 5 oct, 11:30, Erik Allik <[EMAIL PROTECTED]> wrote: > > what if I did the from django.core.urlresolvers import reverse part in > the function itself that gets called? > > def my_flatpage_url(o): > from django.core.urlresolvers import reverse > return '%s%s' % (reverse('my-site-index'), o.url) > > ABSOLUTE_URL_OVERRIDES = { > 'flatpages.flatpage': my_flatpage_url, > > }
Well, instead of a direct cycle dependancy, you'd have an indirect one. You'd still have a cyclic dependancy anyway. > That wouldn't introduce a chicken-and-egg problem, would it? It would just the same. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---