utils.py
14 lines
| 309 B
| text/x-python
|
PythonLexer
/ boards / utils.py
|
r78 | """ | ||
This module contains helper functions and helper classes. | ||||
""" | ||||
|
r81 | from neboard import settings | ||
|
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 | ||||
|
r81 | return not settings.ENABLE_CAPTCHA | ||