-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add migration for verbose plural names (#1475)
* fix: add migration for verbose plural names * style: add missing newline after copyright notice
- Loading branch information
1 parent
120f306
commit edc2d62
Showing
2 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
48 changes: 48 additions & 0 deletions
48
terraso_backend/apps/soil_id/migrations/0018_alter_projectsoilsettings_options_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Copyright © 2024 Technology Matters | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU Affero General Public License as published | ||
# by the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU Affero General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Affero General Public License | ||
# along with this program. If not, see https://www.gnu.org/licenses/. | ||
|
||
# Generated by Django 5.1.1 on 2024-10-02 17:26 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("soil_id", "0017_alter_soilidcache"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterModelOptions( | ||
name="projectsoilsettings", | ||
options={ | ||
"get_latest_by": "-created_at", | ||
"ordering": ["created_at"], | ||
"verbose_name_plural": "project soil settings", | ||
}, | ||
), | ||
migrations.AlterModelOptions( | ||
name="soildata", | ||
options={ | ||
"get_latest_by": "-created_at", | ||
"ordering": ["created_at"], | ||
"verbose_name_plural": "soil data", | ||
}, | ||
), | ||
migrations.AlterModelOptions( | ||
name="soilidcache", | ||
options={"verbose_name": "Soil ID Cache", "verbose_name_plural": "Soil ID Cache"}, | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters