Ticket #10837: 10837-bpchar-int8.diff
File 10837-bpchar-int8.diff, 675 bytes (added by , 16 years ago) |
---|
-
django/db/backends/postgresql/introspection.py
diff -r 98f99d6291d4 django/db/backends/postgresql/introspection.py
a b 4 4 # Maps type codes to Django Field types. 5 5 data_types_reverse = { 6 6 16: 'BooleanField', 7 20: 'IntegerField', 7 8 21: 'SmallIntegerField', 8 9 23: 'IntegerField', 9 10 25: 'TextField', 10 11 700: 'FloatField', 11 12 701: 'FloatField', 12 13 869: 'IPAddressField', 14 1042: 'CharField', 13 15 1043: 'CharField', 14 16 1082: 'DateField', 15 17 1083: 'TimeField',