Changes between Initial Version and Version 1 of Ticket #30382, comment 10
- Timestamp:
- May 8, 2023, 9:09:48 PM (20 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #30382, comment 10
initial v1 1 1 Hi Natalia, 2 Try replacing your {{{models.py}}} with the following and it would probably work. There seems to be another bug that goes beyond reported here. When the primary key field is the only field in the model it generates an extra select statement. Created another ticket #34549 for that. Check for better explanation. 2 Try replacing your {{{models.py}}} with the following and it would probably work. There seems to be another bug that goes beyond reported here. When the primary key field is the only field in the model it generates an extra select statement. Created another ticket #34549 for that. Check for better explanation. There are two cases, **case-1 :** https://code.djangoproject.com/ticket/34549#comment:1 and **case-2:** https://code.djangoproject.com/ticket/34549#comment:2 3 3 4 4 {{{