diff --git a/dependency_list.txt b/dependency_list.txt --- a/dependency_list.txt +++ b/dependency_list.txt @@ -3,4 +3,6 @@ django >= 1.5 django_cleanup django-markupfield markdown +python-markdown django-simple-captcha +line-profiler diff --git a/neboard/settings.py b/neboard/settings.py --- a/neboard/settings.py +++ b/neboard/settings.py @@ -208,3 +208,7 @@ ENABLE_CAPTCHA = False # if user tries to post before CAPTCHA_DEFAULT_SAFE_TIME. Captcha will be shown CAPTCHA_DEFAULT_SAFE_TIME = 30 # seconds POSTING_DELAY = 30 # seconds + +# Debug mode middlewares +if DEBUG: + MIDDLEWARE_CLASSES += ( 'boards.profiler.ProfilerMiddleware', )