From 7bfad1a5cb90872585a3b5a7b7b5bfdcecc6bf43 Mon Sep 17 00:00:00 2001 From: ayxan Date: Sun, 11 Dec 2022 01:49:29 +0400 Subject: [PATCH] Removed 'send_email' from register --- .gitignore | 1 + src/account/forms/register.py | 3 +-- src/account/templates/register.html | 3 +-- src/account/views/register.py | 3 --- 4 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index f53bce0..eda6bef 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ celerybeat-schedule databasepostgresql_env SeriesRobot.pem certbot +imdb_api_access \ No newline at end of file diff --git a/src/account/forms/register.py b/src/account/forms/register.py index e599aa0..30e8d38 100644 --- a/src/account/forms/register.py +++ b/src/account/forms/register.py @@ -11,5 +11,4 @@ class RegisterForm(UserCreationForm): 'email', 'password1', 'password2', - 'imdb_api_key', - 'send_email') + 'imdb_api_key') diff --git a/src/account/templates/register.html b/src/account/templates/register.html index 519e153..cd6538b 100644 --- a/src/account/templates/register.html +++ b/src/account/templates/register.html @@ -14,8 +14,7 @@ {{form.password1|as_crispy_field}}
{{form.password2|as_crispy_field}}
{{form.imdb_api_key|as_crispy_field}} - Get API Key

- {{form.send_email|as_crispy_field}}
+ Get API Key