##// END OF EJS Templates
Added fixed image length. This fixes #52
Added fixed image length. This fixes #52

File last commit:

r81:095d634d default
r88:f32104ea default
Show More
utils.py
14 lines | 309 B | text/x-python | PythonLexer
Ilyas
Added django-simple-capthca support...
r78 """
This module contains helper functions and helper classes.
"""
neko259
Fixed captcha design. Added setting to enable or disable captcha. This refs #39
r81 from neboard import settings
Ilyas
Added django-simple-capthca support...
r78
def check_if_human(request):
"""
Check if request is made by a user.
It contains rules which check for bots.
"""
# FIXME: need to insert checking logic
neko259
Fixed captcha design. Added setting to enable or disable captcha. This refs #39
r81 return not settings.ENABLE_CAPTCHA