.
This commit is contained in:
+1
-1
@@ -39,7 +39,7 @@ def image_directory_path(instance, filename):
|
|||||||
|
|
||||||
def get_answer_compare(s):
|
def get_answer_compare(s):
|
||||||
s = s.strip().lower()
|
s = s.strip().lower()
|
||||||
s = s.translate(str.maketrans('', '', s.punctuation.replace("#", "")))
|
s = s.translate(str.maketrans('', '', string.punctuation.replace("#", "")))
|
||||||
return s
|
return s
|
||||||
|
|
||||||
class Abnormality(models.Model):
|
class Abnormality(models.Model):
|
||||||
|
|||||||
Reference in New Issue
Block a user