Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #10837 -- Added CHAR(X)->CharField to mapping used in Postgres …

…DB introspection.

Thanks trbs for the report and initial patch and to Claude Paroz for
updating it.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17511 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 328c70ef157533f57d38e7c9a5740095565ebf9d 1 parent 98b4572
Ramiro Morales ramiro authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  django/db/backends/postgresql_psycopg2/introspection.py
1  django/db/backends/postgresql_psycopg2/introspection.py
View
@@ -12,6 +12,7 @@ class DatabaseIntrospection(BaseDatabaseIntrospection):
700: 'FloatField',
701: 'FloatField',
869: 'GenericIPAddressField',
+ 1042: 'CharField', # blank-padded
1043: 'CharField',
1082: 'DateField',
1083: 'TimeField',
Please sign in to comment.
Something went wrong with that request. Please try again.