From 19b303031e3937375cbf7acf5f7bbf23892afe91 Mon Sep 17 00:00:00 2001 From: iZooGooD Date: Fri, 8 Mar 2024 08:50:44 +0530 Subject: [PATCH] chore: update form length --- torrscrapper/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/torrscrapper/views.py b/torrscrapper/views.py index 6a714ba..b03318e 100644 --- a/torrscrapper/views.py +++ b/torrscrapper/views.py @@ -53,8 +53,8 @@ def contact_form_submit(request): if not validate_input_length(name, 2, 100): context["errors"].append("Your name should be between 2 to 100 characters") - if not validate_input_length(subject, 4, 200): - context["errors"].append("Your subject should be between 4 to 200 characters") + if not validate_input_length(subject, 4, 100): + context["errors"].append("Your subject should be between 4 to 100 characters") if not validate_input_length(message, 10, 500): context["errors"].append("Message should be between 10 to 500 characters")