Changes between Version 1 and Version 2 of Ticket #29078
- Timestamp:
- Jan 28, 2018, 2:29:10 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29078 – Description
v1 v2 7 7 serializers.serialize('json', groups) 8 8 9 This will N+1 query the permissions as handle_m2m_field uses iterator() which bypasses any cache. Suggest serializers/python.py line 7 7replaces iterator() with all()9 This will N+1 query the permissions as handle_m2m_field uses iterator() which bypasses any cache. Suggest serializers/python.py line 78 replaces iterator() with all()