diff options
| author | django-bot <ops@djangoproject.com> | 2022-02-03 20:24:19 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-02-07 20:37:05 +0100 |
| commit | 9c19aff7c7561e3a82978a272ecdaad40dda5c00 (patch) | |
| tree | f0506b668a013d0063e5fba3dbf4863b466713ba /tests/migrations/test_migrations_no_changes/0002_second.py | |
| parent | f68fa8b45dfac545cfc4111d4e52804c86db68d3 (diff) | |
Refs #33476 -- Reformatted code with Black.
Diffstat (limited to 'tests/migrations/test_migrations_no_changes/0002_second.py')
| -rw-r--r-- | tests/migrations/test_migrations_no_changes/0002_second.py | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/tests/migrations/test_migrations_no_changes/0002_second.py b/tests/migrations/test_migrations_no_changes/0002_second.py index 71c300cead..90a1b13b0b 100644 --- a/tests/migrations/test_migrations_no_changes/0002_second.py +++ b/tests/migrations/test_migrations_no_changes/0002_second.py @@ -8,19 +8,17 @@ class Migration(migrations.Migration): ] operations = [ - migrations.DeleteModel("Tribble"), - migrations.RemoveField("Author", "silly_field"), - migrations.AddField("Author", "rating", models.IntegerField(default=0)), - migrations.CreateModel( "Book", [ ("id", models.AutoField(primary_key=True)), - ("author", models.ForeignKey("migrations.Author", models.SET_NULL, null=True)), + ( + "author", + models.ForeignKey("migrations.Author", models.SET_NULL, null=True), + ), ], - ) - + ), ] |
