Update migration file

This commit is contained in:
Erin 2024-04-18 11:02:23 -07:00
parent f9fdbfe68a
commit c7e8e26828
No known key found for this signature in database
GPG key ID: 1CAD275313C62460
2 changed files with 9 additions and 2 deletions

View file

@ -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):
""" """

View file

@ -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",