This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
authentic2-beid/src/authentic2_beid/templatetags/beid.py

11 lines
212 B
Python

from django import template
from authentic2_beid.util import get_x509_url
register = template.Library()
@register.simple_tag
def beid_url(request):
print "R: %s" % request
return get_x509_url(request)