Fix migration file

This commit is contained in:
Andrew Chen Wang 2023-03-10 05:35:16 -05:00 committed by GitHub
parent 42416dc92d
commit 63e05c431b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ class Migration(migrations.Migration):
verbose_name="superuser status",
),
),
{%- if cookiecutter.username_type == "email" -%}
{%- if cookiecutter.username_type == "username" -%}
(
"username",
models.CharField(