예제 #1
0
def honeypot_field(field_name=None):
    return render_honeypot_field(field_name)
예제 #2
0
 def add_honeypot_field(match):
     """Returns the matched <form> tag plus the added <input> element"""
     return mark_safe(
         match.group() + render_to_string("honeypot/honeypot_field.html", render_honeypot_field())
     )
예제 #3
0
def honeypot_field(field_name=None):
    return render_honeypot_field(field_name)
예제 #4
0
 def add_honeypot_field(match):
     """Returns the matched <form> tag plus the added <input> element"""
     return mark_safe(match.group() +
                      render_to_string('honeypot/honeypot_field.html',
                                       render_honeypot_field()))