Changes between Initial Version and Version 1 of Ticket #31815


Ignore:
Timestamp:
Jul 22, 2020, 5:50:22 PM (4 years ago)
Author:
JSAustin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31815 – Description

    initial v1  
    22
    33File "D:\DjangoSite\venv\lib\site-packages\django\db\backends\postgresql\schema.py", line 38, in quote_value
    4     return psycopg2.extensions.adapt(value).getquoted().decode()
     4return psycopg2.extensions.adapt(value).getquoted().decode()
    55UnicodeEncodeError: 'latin-1' codec can't encode character '\u03bc' in position 0: ordinal not in range(256)
    66
    77The 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         )
     8migrations.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'),)
    129
     10I am running PostgreSQL 12 locally for this with psycopg2 connection.
     11
Back to Top