summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorJacob Kaplan-Moss <jacob@jacobian.org>2009-04-03 20:53:50 +0000
committerJacob Kaplan-Moss <jacob@jacobian.org>2009-04-03 20:53:50 +0000
commitfd8965198f541d6f2920e689cdbe13ed1ff6faa9 (patch)
tree26ff4d91d1f76f586dab4eee3cda2a768d383ec6 /django
parentb45cf13bed36f338517c42446f78001aa9a82f7d (diff)
[1.0.X] Fixed #9991: correctly introspect PostgreSQL 'real' types. Backport of r10379 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10380 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django')
-rw-r--r--django/db/backends/postgresql/introspection.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/django/db/backends/postgresql/introspection.py b/django/db/backends/postgresql/introspection.py
index 7b3ab3bb8a..a6cafcd949 100644
--- a/django/db/backends/postgresql/introspection.py
+++ b/django/db/backends/postgresql/introspection.py
@@ -7,6 +7,7 @@ class DatabaseIntrospection(BaseDatabaseIntrospection):
21: 'SmallIntegerField',
23: 'IntegerField',
25: 'TextField',
+ 700: 'FloatField',
701: 'FloatField',
869: 'IPAddressField',
1043: 'CharField',