mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Removed hardcoded pks in migrations' test_alter_order_with_respect_to.
This commit is contained in:
parent
354c1524b3
commit
84ca7b8602
2 changed files with 7 additions and 3 deletions
|
@ -248,7 +248,7 @@ class OperationTestBase(MigrationTestBase):
|
|||
[
|
||||
('id', models.AutoField(primary_key=True)),
|
||||
('pony', models.ForeignKey('Pony', models.CASCADE)),
|
||||
('friend', models.ForeignKey('self', models.CASCADE))
|
||||
('friend', models.ForeignKey('self', models.CASCADE, null=True))
|
||||
],
|
||||
))
|
||||
if mti_model:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue