Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Whoop, left in an 'assert False' in [333]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@334 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit cf9efea2407bfab31cc930f665babe0fcb6ca5ff 1 parent f5b605a
Adrian Holovaty adrianholovaty authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  django/views/admin/main.py
1  django/views/admin/main.py
View
@@ -144,7 +144,6 @@ def change_list(request, app_label, module_name):
lookup_params['select_related'] = True
break
lookup_params['order_by'] = ((order_type == 'desc' and '-' or '') + lookup_order_field,)
- assert False, lookup_params['order_by']
if lookup_opts.admin.search_fields and query:
or_queries = []
for bit in query.split():
Please sign in to comment.
Something went wrong with that request. Please try again.