« Previous | Next » 

Revision 1fd14d3d

ID1fd14d3d1d14478812aeb402d8a2477d5f1ffb5c

Added by Giorgos Korfiatis almost 10 years ago

Return EmptyQuerySet on an EmptyResultSet

Refs #3489

Call to as_sql() raises EmptyResultSet in a couple of occasions,
more importantly when filtering based on an empty list: filter(field__in=[]).

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences