Hello Steve, Maybe I'm wrong but I want to display this menu in all pages of my site, so by using a custom tag, I can display my menu without having to import my model in my different views.
On 12 nov, 13:22, Steve Holden <[EMAIL PROTECTED]> wrote: > gontran wrote: > > Merci beaucoup! > > it works fine now. > > >> Now, and while this is none of my problems, I'd seriously question the > > decision of building html that way. This would be better done using > > templates IMVHO. > > > -> I'm using this function in a custom tag to build a menu > > And is there a rule that says you can't do that using templates? > > regards > Steve > -- > Steve Holden +1 571 484 6266 +1 800 494 3119 > Holden Web LLC http://www.holdenweb.com/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---