Re: A django bug on Queryset.delete

2018-03-28 Thread Simon Charette
Hello Yue, You probably have a model with a ForeignKey where you set on_delete=True. Best, Simon Le mercredi 28 mars 2018 07:11:04 UTC-4, yue lan a écrit : > > Hi, > I think I found a bug of django. My python version is 3.6.3 and Django is > 2.0.3. And the bug is showed below: > > File "E:\pr

A django bug on Queryset.delete

2018-03-28 Thread yue lan
Hi, I think I found a bug of django. My python version is 3.6.3 and Django is 2.0.3. And the bug is showed below: File "E:\programfile\python\lib\site-packages\django\db\models\query.py", line 661, in delete collector.collect(del_query) File "E:\programfile\python\lib\site-packages\dj