mirror of https://github.com/django/django.git
Removed unnecessary line in OrderBy.as_sql().
Unnecessary since 7286eaf681
.
This commit is contained in:
parent
6b0b3eafd6
commit
4bb27c8719
|
@ -1232,7 +1232,6 @@ class OrderBy(BaseExpression):
|
|||
'ordering': 'DESC' if self.descending else 'ASC',
|
||||
**extra_context,
|
||||
}
|
||||
template = template or self.template
|
||||
params *= template.count('%(expression)s')
|
||||
return (template % placeholders).rstrip(), params
|
||||
|
||||
|
|
Loading…
Reference in New Issue