1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Refs #31926 -- Made test_pickle_filteredrelation_m2m do not depend on auto-PK.

This caused failures on CockroachDB that use random rather than serial
pk values.
This commit is contained in:
Mariusz Felisiak
2020-10-15 08:17:42 +02:00
committed by GitHub
parent 220c4d5c05
commit 6e4f7ec854
2 changed files with 3 additions and 2 deletions

View File

@@ -57,6 +57,7 @@ class Container:
class M2MModel(models.Model):
added = models.DateField(default=datetime.date.today)
groups = models.ManyToManyField(Group)