Refactor update creation api
All threads resolved!
All threads resolved!
Compare changes
- Samuel GAIST authored
Also move all imports at the top, it's counter-productive to have try/except import clauses on a package that is mandatory for the code to work.
+ 31
− 24
@@ -32,21 +32,19 @@ from django.core.exceptions import ValidationError
@@ -63,12 +61,13 @@ def validate_restructuredtext(value):
@@ -82,8 +81,8 @@ def validate_restructuredtext(value):
@@ -99,25 +98,33 @@ def validate_restructuredtext(value):
@@ -125,6 +132,6 @@ def ensure_string(data):
\ No newline at end of file