Skip to content
Snippets Groups Projects
Commit 097569ba authored by Benjamin Hättasch's avatar Benjamin Hättasch
Browse files

Remove missed code from tag removal

parent 31c2fe19
No related branches found
No related tags found
No related merge requests found
...@@ -99,11 +99,6 @@ class AKForm(AvailabilitiesFormMixin, forms.ModelForm): ...@@ -99,11 +99,6 @@ class AKForm(AvailabilitiesFormMixin, forms.ModelForm):
# Truncate links longer than 200 characters (default length of URL fields in django) # Truncate links longer than 200 characters (default length of URL fields in django)
self.cleaned_data["link"] = link[:200] self.cleaned_data["link"] = link[:200]
# Get tag names from raw tags
cleaned_data["tag_names"] = [name.strip().lower() for name
in self.split_string.split(cleaned_data["tags_raw"])
if name.strip() != '']
# Get durations from raw durations field # Get durations from raw durations field
if "durations" in cleaned_data: if "durations" in cleaned_data:
cleaned_data["durations"] = [self._clean_duration(d) for d in self.cleaned_data["durations"].split()] cleaned_data["durations"] = [self._clean_duration(d) for d in self.cleaned_data["durations"].split()]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment