I have a migration from an old table to a new table, so when I migrate also
data of old table, I try to keep PrimaryKey values the same as old table.
so every thing go well until I see primary key duplicate value errors from
Postgresql, I check it and so the Sequence of the new table was not get
;
> +43(681)207 447 76
>
> ma...@wpsoft.at
>
>
>
> *From:* django-d...@googlegroups.com [mailto:django-d...@googlegroups.com]
> *On Behalf Of *mohamad ali mehdizadeh
> *Sent:* Tuesday, May 10, 2022 5:09 PM
> *To:* Django developers (Contributions to Django itself) <
> dja
Hi.
Why we don't have __eq__ for QuerySets, here is an example:
```
qs1 = Model.objects.all()
qs2 = qs1.all()
qs1 == qs2
```
output: False
as we know these two are the same by value!
--
You received this message because you are subscribed to the Google Groups
"Django developers (Contributions t