##// END OF EJS Templates
Added link to RSS to the page head. This fixes #11
Added link to RSS to the page head. This fixes #11

File last commit:

r81:095d634d default
r93:3d5f1103 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