diff --git a/django/cantusdb_project/main_app/forms.py b/django/cantusdb_project/main_app/forms.py index 8ec2597c7..ad150622b 100644 --- a/django/cantusdb_project/main_app/forms.py +++ b/django/cantusdb_project/main_app/forms.py @@ -89,13 +89,14 @@ class CantusDBLatinField(forms.CharField): def validate(self, value): super().validate(value) - if value: - try: - syllabify_text(value) - except LatinError as err: - raise forms.ValidationError(str(err)) - except ValueError as exc: - raise forms.ValidationError("Invalid characters in text.") from exc + # Temporarily turn off validation; see #1674 + # if value: + # try: + # syllabify_text(value) + # except LatinError as err: + # raise forms.ValidationError(str(err)) + # except ValueError as exc: + # raise forms.ValidationError("Invalid characters in text.") from exc class CantusDBSyllabifiedLatinField(forms.CharField): @@ -107,11 +108,12 @@ class CantusDBSyllabifiedLatinField(forms.CharField): def validate(self, value): super().validate(value) - if value: - try: - syllabify_text(value, text_presyllabified=True) - except ValueError as exc: - raise forms.ValidationError("Invalid characters in text.") from exc + # Temporarily turn off validation; see #1674 + # if value: + # try: + # syllabify_text(value, text_presyllabified=True) + # except ValueError as exc: + # raise forms.ValidationError("Invalid characters in text.") from exc class StyledChoiceField(forms.ChoiceField): diff --git a/django/cantusdb_project/main_app/templates/chant_create.html b/django/cantusdb_project/main_app/templates/chant_create.html index 4b29bb0bb..69f36bc25 100644 --- a/django/cantusdb_project/main_app/templates/chant_create.html +++ b/django/cantusdb_project/main_app/templates/chant_create.html @@ -291,7 +291,7 @@