@register.inclusion_tag('honeypot/honeypot_field.html')
def render_honeypot_field(field_name=None):
    if not field_name:
        field_name = settings.HONEYPOT_FIELD_NAME
    value = getattr(settings, 'HONEYPOT_VALUE', '')
    if callable(value):
        value = value()
    return {'fieldname': field_name, 'value': value}
Renders honeypot field named field_name (defaults to HONEYPOT_FIELD_NAME).
dataset/ETHPy150Open jamesturk/django-honeypot/honeypot/templatetags/honeypot.py/render_honeypot_field