#6013 (QuerySet.exclude() argument after ** must be a mapping, not Q)
by Luc Saffre · in Developers · assigned to Luc Saffre
Kurzbeschreibung
Kinder
Kommentare
- 1 Jahr, 6 Monate ago von Luc Saffre about #6013 (QuerySet.exclude() argument after ** must be a mapping, not Q) : I pushed my changes, in lino and book.
- 1 Jahr, 6 Monate ago von Luc Saffre about #6013 (QuerySet.exclude() argument after ** must be a mapping, not Q) : And there is a comment in dbtables.py "TODO: use Q object instead of dict".
- 1 Jahr, 6 Monate ago von Luc Saffre about #6013 (QuerySet.exclude() argument after ** must be a mapping, not Q) : It wasn't because of the old Django version, on my computer the error produced just an no_data_text not an exception. The reason is that Lino didn't yet accept Q objects in the exclude attribute of a data table.
- 1 Jahr, 6 Monate ago von Luc Saffre about #6013 (QuerySet.exclude() argument after ** must be a mapping, not Q) : I'm having this in fijal on pilv, but cannot reproduce it on my machine. I guess it's because pilv is still using Django 4.2, and pip won't upgrade because it is still Python 3.9. So I must wait until @hannes made the distupgrade.
- 1 Jahr, 6 Monate ago von Luc Saffre about #6013 (QuerySet.exclude() argument after ** must be a mapping, not Q) : Created new Ticket #6013 (QuerySet.exclude() argument after ** must be a mapping, not Q).