mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-19 19:09:22 +02:00
Update migration file
This commit is contained in:
parent
f9fdbfe68a
commit
c7e8e26828
2 changed files with 9 additions and 2 deletions
|
@ -1987,6 +1987,13 @@ class DraftDomainAdmin(ListHeaderAdmin):
|
||||||
# this ordering effects the ordering of results
|
# this ordering effects the ordering of results
|
||||||
# in autocomplete_fields for user
|
# in autocomplete_fields for user
|
||||||
ordering = ["name"]
|
ordering = ["name"]
|
||||||
|
list_display = [
|
||||||
|
"name"
|
||||||
|
]
|
||||||
|
|
||||||
|
@admin.display(description=_("Requested domain"))
|
||||||
|
def name(self, obj):
|
||||||
|
return obj.name
|
||||||
|
|
||||||
def get_model_perms(self, request):
|
def get_model_perms(self, request):
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Generated by Django 4.2.10 on 2024-04-18 16:30
|
# Generated by Django 4.2.10 on 2024-04-18 18:01
|
||||||
|
|
||||||
import django.core.validators
|
import django.core.validators
|
||||||
from django.db import migrations, models
|
from django.db import migrations, models
|
||||||
|
@ -16,7 +16,7 @@ class Migration(migrations.Migration):
|
||||||
migrations.AlterField(
|
migrations.AlterField(
|
||||||
model_name="contact",
|
model_name="contact",
|
||||||
name="first_name",
|
name="first_name",
|
||||||
field=models.CharField(blank=True, db_index=True, null=True, verbose_name="First name"),
|
field=models.CharField(blank=True, db_index=True, null=True, verbose_name="first name"),
|
||||||
),
|
),
|
||||||
migrations.AlterField(
|
migrations.AlterField(
|
||||||
model_name="contact",
|
model_name="contact",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue