##// END OF EJS Templates
Added profiler to the debug mode.
neko259 -
r195:80173330 default
parent child Browse files
Show More
@@ -3,4 +3,6 b' django >= 1.5'
3 django_cleanup
3 django_cleanup
4 django-markupfield
4 django-markupfield
5 markdown
5 markdown
6 python-markdown
6 django-simple-captcha
7 django-simple-captcha
8 line-profiler
@@ -208,3 +208,7 b' ENABLE_CAPTCHA = False'
208 # if user tries to post before CAPTCHA_DEFAULT_SAFE_TIME. Captcha will be shown
208 # if user tries to post before CAPTCHA_DEFAULT_SAFE_TIME. Captcha will be shown
209 CAPTCHA_DEFAULT_SAFE_TIME = 30 # seconds
209 CAPTCHA_DEFAULT_SAFE_TIME = 30 # seconds
210 POSTING_DELAY = 30 # seconds
210 POSTING_DELAY = 30 # seconds
211
212 # Debug mode middlewares
213 if DEBUG:
214 MIDDLEWARE_CLASSES += ( 'boards.profiler.ProfilerMiddleware', )
General Comments 0
You need to be logged in to leave comments. Login now