|
6 | 6 | class Migration(migrations.Migration):
|
7 | 7 |
|
8 | 8 | dependencies = [
|
9 |
| - ('migration_test_app', '0006_alter_historicalmodelwithcustomattronetoonefield_options_and_more'), |
| 9 | + ( |
| 10 | + "migration_test_app", |
| 11 | + "0006_alter_historicalmodelwithcustomattronetoonefield_options_and_more", |
| 12 | + ), |
10 | 13 | ]
|
11 | 14 |
|
12 | 15 | operations = [
|
13 | 16 | migrations.AlterModelOptions(
|
14 |
| - name='historicalmodelwithcustomattrforeignkey', |
15 |
| - options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical model with custom attr foreign key', 'verbose_name_plural': 'historical model with custom attr foreign keys'}, |
| 17 | + name="historicalmodelwithcustomattrforeignkey", |
| 18 | + options={ |
| 19 | + "get_latest_by": ("history_date", "history_id"), |
| 20 | + "ordering": ("-history_date", "-history_id"), |
| 21 | + "verbose_name": "historical model with custom attr foreign key", |
| 22 | + "verbose_name_plural": "historical model with custom attr foreign keys", |
| 23 | + }, |
16 | 24 | ),
|
17 | 25 | migrations.AlterModelOptions(
|
18 |
| - name='historicalmodelwithcustomattronetoonefield', |
19 |
| - options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical model with custom attr one to one field', 'verbose_name_plural': 'historical model with custom attr one to one fields'}, |
| 26 | + name="historicalmodelwithcustomattronetoonefield", |
| 27 | + options={ |
| 28 | + "get_latest_by": ("history_date", "history_id"), |
| 29 | + "ordering": ("-history_date", "-history_id"), |
| 30 | + "verbose_name": "historical model with custom attr one to one field", |
| 31 | + "verbose_name_plural": "historical model with custom attr one to one fields", |
| 32 | + }, |
20 | 33 | ),
|
21 | 34 | migrations.AlterModelOptions(
|
22 |
| - name='historicalyar', |
23 |
| - options={'get_latest_by': ('history_date', 'history_id'), 'ordering': ('-history_date', '-history_id'), 'verbose_name': 'historical yar', 'verbose_name_plural': 'historical yars'}, |
| 35 | + name="historicalyar", |
| 36 | + options={ |
| 37 | + "get_latest_by": ("history_date", "history_id"), |
| 38 | + "ordering": ("-history_date", "-history_id"), |
| 39 | + "verbose_name": "historical yar", |
| 40 | + "verbose_name_plural": "historical yars", |
| 41 | + }, |
24 | 42 | ),
|
25 | 43 | ]
|
0 commit comments