Changes between Initial Version and Version 1 of Ticket #31815
- Timestamp:
- Jul 22, 2020, 5:50:22 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31815 – Description
initial v1 2 2 3 3 File "D:\DjangoSite\venv\lib\site-packages\django\db\backends\postgresql\schema.py", line 38, in quote_value 4 4 return psycopg2.extensions.adapt(value).getquoted().decode() 5 5 UnicodeEncodeError: 'latin-1' codec can't encode character '\u03bc' in position 0: ordinal not in range(256) 6 6 7 7 The migration is: 8 migrations.AddConstraint( 9 model_name='biomarkertestinfo', 10 constraint=models.CheckConstraint(check=models.Q(unit__in=['μg/mL', 'ng/mL', 'pg/mL', 'U/L', 'mIU/mL', 'kIU/mL']), name='constrained biomarker unit choices'), 11 ) 8 migrations.AddConstraint(model_name='biomarkertestinfo',constraint=models.CheckConstraint(check=models.Q(unit__in=['μg/mL', 'ng/mL', 'pg/mL', 'U/L', 'mIU/mL', 'kIU/mL']), name='constrained biomarker unit choices'),) 12 9 10 I am running PostgreSQL 12 locally for this with psycopg2 connection. 11