From c664977adbab4b43ada5a90ab9a773cc4ca7706f Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.anjos@idiap.ch> Date: Mon, 14 Mar 2016 13:42:27 +0100 Subject: [PATCH] [common] Allow user to fork algorithms with invalid documentation strings (closes #416) --- beat/web/common/serializers.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/beat/web/common/serializers.py b/beat/web/common/serializers.py index 611a0f97f..60904c6f8 100644 --- a/beat/web/common/serializers.py +++ b/beat/web/common/serializers.py @@ -290,10 +290,6 @@ class ContributionCreationSerializer(serializers.ModelSerializer): def validate_description(self, description): if description.find('\\') >= 0: #was escaped, unescape description = description.decode('string_escape') - try: - validate_restructuredtext(description) - except ValidationError as e: - raise serializers.ValidationError(e) return description def validate(self, data): -- GitLab