##// END OF EJS Templates
Removed load_all from search. Fixed the debug toolbar setting to be true when debug is on
neko259 -
r862:14606f35 default
parent child Browse files
Show More
@@ -27,7 +27,7 b' class BoardSearchView(View):'
27 27 if form.is_valid():
28 28 query = form.cleaned_data[FORM_QUERY]
29 29 if len(query) >= 3:
30 results = SearchQuerySet().auto_query(query).order_by('-id').load_all()
30 results = SearchQuerySet().auto_query(query).order_by('-id')
31 31 paginator = get_paginator(results, 10)
32 32
33 33 if REQUEST_PAGE in request.GET:
@@ -232,7 +232,7 b' if DEBUG:'
232 232 )
233 233
234 234 def custom_show_toolbar(request):
235 return False
235 return True
236 236
237 237 DEBUG_TOOLBAR_CONFIG = {
238 238 'ENABLE_STACKTRACES': True,
General Comments 0
You need to be logged in to leave comments. Login now