Running into a bit of an issue trying to load a custom tag in my base.html file.
ive got /project/templates/base.html /project/templatetags/showmenu.py showmenu.py from django.template import Library, Node from django.contrib.auth.models import User from django.conf import settings register = Library() def showmenu(user): services = TBService.objects.filter(user=user.id) return {'services': services} register.inclusion_tag('base.html', takes_context=True)(showmenu) base.html {% showmenu %} {% for service in services %} <li><a href="/toolbox/{{ service.name }}/">{{ service.name }}</a></li> {% endfor %} but receiving this error: Exception Type: TemplateSyntaxError Exception Value: Invalid block tag: 'showmenu' im still a bit confused on inclusion_tags, and ive searched the mailing lists for possible explanations on implementing user specific information in a base template file for use in template inheritance. any guidance is appreciated thx --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---