Ticket #10837: 10837-bpchar-int8.diff

File 10837-bpchar-int8.diff, 675 bytes (added by trbs, 6 years ago)
  • django/db/backends/postgresql/introspection.py

    diff -r 98f99d6291d4 django/db/backends/postgresql/introspection.py
    a b  
    44    # Maps type codes to Django Field types.
    55    data_types_reverse = {
    66        16: 'BooleanField',
     7        20: 'IntegerField',
    78        21: 'SmallIntegerField',
    89        23: 'IntegerField',
    910        25: 'TextField',
    1011        700: 'FloatField',
    1112        701: 'FloatField',
    1213        869: 'IPAddressField',
     14        1042: 'CharField',
    1315        1043: 'CharField',
    1416        1082: 'DateField',
    1517        1083: 'TimeField',
Back to Top