Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Rolled back [2390] temporarily to test against some other edge cases

git-svn-id: http://code.djangoproject.com/svn/django/trunk@2391 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit de66a3a7dac08554a8cb76e480d242ca0bfd0d54 1 parent 79633b2
@adrianholovaty adrianholovaty authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  django/core/meta/__init__.py
View
1  django/core/meta/__init__.py
@@ -1352,7 +1352,6 @@ def _get_where_clause(lookup_type, table_prefix, field_name, value):
raise TypeError, "Got invalid lookup_type: %s" % repr(lookup_type)
def function_get_object(opts, klass, does_not_exist_exception, **kwargs):
- kwargs['order_by'] = ()
obj_list = function_get_list(opts, klass, **kwargs)
if len(obj_list) < 1:
raise does_not_exist_exception, "%s does not exist for %s" % (opts.object_name, kwargs)
Please sign in to comment.
Something went wrong with that request. Please try again.