From d7c63bc0879d3a566a77bc7c382933bfe8135e31 Mon Sep 17 00:00:00 2001
From: Nadja Geisler <ngeisler@fachschaft.informatik.tu-darmstadt.de>
Date: Mon, 15 Aug 2022 12:03:52 +0000
Subject: [PATCH] remove potentially confusing message to user

---
 AKSubmission/forms.py | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/AKSubmission/forms.py b/AKSubmission/forms.py
index e971ed57..d1f7e547 100644
--- a/AKSubmission/forms.py
+++ b/AKSubmission/forms.py
@@ -2,7 +2,6 @@ import itertools
 import re
 
 from django import forms
-from django.contrib import messages
 from django.core.exceptions import ValidationError
 from django.utils.translation import ugettext_lazy as _
 
@@ -106,9 +105,6 @@ class AKForm(AvailabilitiesFormMixin, forms.ModelForm):
             link = self.cleaned_data["event"].base_url + self.cleaned_data["name"].replace(" ", "_")
             # Truncate links longer than 200 characters (default length of URL fields in django)
             self.cleaned_data["link"] = link[:200]
-            if len(link) > 200:
-                messages.add_message(self.request, messages.WARNING,
-                    _("Due to technical reasons, the link you entered was truncated to a length of 200 characters"))
 
         # Get tag names from raw tags
         cleaned_data["tag_names"] = [name.strip().lower() for name
-- 
GitLab