Changes between Initial Version and Version 1 of Ticket #30332


Ignore:
Timestamp:
04/04/2019 04:31:26 PM (4 months ago)
Author:
Simone Pellizzari
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30332 – Description

    initial v1  
    1 I found that if you pass and expression as an ordering argument an {{{ IndexError: tuple index out of range }}} exception will be thrown when the query is executed.
     1I found that if you pass and expression as an ordering argument (introduced in https://github.com/django/django/commit/96199e562dcc409ab4bdc2b2146fa7cf73c7c5fe) an {{{ IndexError: tuple index out of range }}} exception will be thrown when the query is executed.
    22
    33This is caused by simply ignoring {{{ sql_params }}} returned from {{{ as_sql }}} elements contained in passed {{{ ordering }}} argument.
Back to Top