web/lib/django/db/backends/postgresql/introspection.py
changeset 29 cc9b7e14412b
parent 0 0d40e90630ef
equal deleted inserted replaced
28:b758351d191f 29:cc9b7e14412b
     2 
     2 
     3 class DatabaseIntrospection(BaseDatabaseIntrospection):
     3 class DatabaseIntrospection(BaseDatabaseIntrospection):
     4     # Maps type codes to Django Field types.
     4     # Maps type codes to Django Field types.
     5     data_types_reverse = {
     5     data_types_reverse = {
     6         16: 'BooleanField',
     6         16: 'BooleanField',
       
     7         20: 'BigIntegerField',
     7         21: 'SmallIntegerField',
     8         21: 'SmallIntegerField',
     8         23: 'IntegerField',
     9         23: 'IntegerField',
     9         25: 'TextField',
    10         25: 'TextField',
    10         700: 'FloatField',
    11         700: 'FloatField',
    11         701: 'FloatField',
    12         701: 'FloatField',