fix(migrations): PRWLR-4869 add missing error_messages field (#65)

This commit is contained in:
Adrián Jesús Peña Rodríguez
2024-10-31 17:49:14 +01:00
committed by GitHub
parent fc19fbac68
commit 31c035eb52
+6 -1
View File
@@ -159,7 +159,12 @@ class Migration(migrations.Migration):
(
"email",
models.EmailField(
max_length=254, unique=True, help_text="Case insensitive"
error_messages={
"unique": "Please check the email address and try again."
},
help_text="Case insensitive",
max_length=254,
unique=True,
),
),
("company_name", models.CharField(max_length=150, blank=True)),