Generated: Sat 2012-06-23 23:31 SGT
Source file: /Users/martin/Repos/django-online-docs/online_docs/templatetags/online_docs_tags.py
Stats: 5 executed, 0 missed, 1 excluded, 6 ignored
"""Templatetags for the ``online_docs`` app."""
from django import template
register = template.Library()
@register.simple_tag
def render_docs_link(request):
t = template.loader.get_template('online_docs/online_docs_link.html')
ctx = template.RequestContext(request)
return t.render(ctx)