diff options
author | 2020-07-15 00:11:51 +0200 | |
---|---|---|
committer | 2020-07-15 00:11:51 +0200 | |
commit | 4df7239adb60114f833e5c22eacff726b61e1d5a (patch) | |
tree | edbaec8a7119e4d5aaf4c9ce0a1cce11e2f6cbed | |
parent | Removes django_crispy_forms dependency, too. (diff) |
Fix linting issues caused by refactor.
-rw-r--r-- | pydis_site/apps/home/forms/account_deletion.py | 1 | ||||
-rw-r--r-- | pydis_site/settings.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/pydis_site/apps/home/forms/account_deletion.py b/pydis_site/apps/home/forms/account_deletion.py index b2160657..eec70bea 100644 --- a/pydis_site/apps/home/forms/account_deletion.py +++ b/pydis_site/apps/home/forms/account_deletion.py @@ -3,6 +3,7 @@ from django.forms import CharField, Form class AccountDeletionForm(Form): """Account deletion form, to collect username for confirmation of removal.""" + username = CharField( label="Username", required=True diff --git a/pydis_site/settings.py b/pydis_site/settings.py index 206bec7d..2c87007c 100644 --- a/pydis_site/settings.py +++ b/pydis_site/settings.py @@ -52,7 +52,7 @@ if DEBUG: 'api.pythondiscord.local', 'admin.pythondiscord.local', 'staff.pythondiscord.local', - '0.0.0.0', + '0.0.0.0', # noqa: S104 'localhost', 'web', 'api.web', |