Hello everyone! I wrote a simple flatpage menu the other day (as a template tag), but I'm not sure if this is a optimal solution - it feels a bit hackish.
Here's the code: http://dpaste.com/hold/62194/ This is how the tag is used in a template: {% load flatpage_menu %}{% get_flatpage_menu request %} {{ flatpage_menu|safe }} Have I misunderstood on how (and when) I should have converted the request-variable, using the context given by the render-method? Or have I overdone this? Are there any better was to do something similar? :-) Oscar --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---