Zugriffsanforderung in benutzerdefinierten Django-Vorlagen-Tags
Mein Code in myapp_extras.py: from django import template register = template.Library() @register.inclusion_tag('new/userinfo.html') def address(): address = request.session['address'] return {'address':address} in 'settings.py': TEMPLATE_CONTEXT_PROCESSORS =(