mixed hanzi + pinyin in origin language field
this should not be possible
looking up 很ha
looking up 很hao
looking up 很hao
looking up 很好
ERROR 2020-06-03 02:31:00,486 log 29520 139999156631296 Internal Server Error: /enrich/word_definitions
Traceback (most recent call last):
File "/home/anton/dev/tc/venvs/transcrobes-dev/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
return self.cursor.execute(sql, params)
psycopg2.errors.UniqueViolation: duplicate key value violates unique constraint "unique_trans_lkp"
DETAIL: Key (source_text, from_lang, to_lang)=(很hao, zh-Hans, en) already exists.
Edited by Anton Melser