[collector] rename model to singular form, but provide verbose_name* in Meta
This commit is contained in:
parent
77c67c637c
commit
15279ee99c
2 changed files with 9 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# Generated by Django 5.1.7 on 2025-03-12 21:29
|
||||
# Generated by Django 5.1.7 on 2025-03-12 22:10
|
||||
|
||||
import django_extensions.db.fields
|
||||
from django.db import migrations, models
|
||||
|
|
@ -12,7 +12,7 @@ class Migration(migrations.Migration):
|
|||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name="Teile",
|
||||
name="Teil",
|
||||
fields=[
|
||||
(
|
||||
"id",
|
||||
|
|
@ -32,7 +32,9 @@ class Migration(migrations.Migration):
|
|||
),
|
||||
],
|
||||
options={
|
||||
"indexes": [models.Index(fields=["modified"], name="modified")],
|
||||
"verbose_name": "Teil",
|
||||
"verbose_name_plural": "Teile",
|
||||
"indexes": [models.Index(fields=["modified"], name="idx_modified")],
|
||||
"constraints": [
|
||||
models.UniqueConstraint(fields=("name",), name="unique_names")
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue