Code

Ticket #4048: introspection.py-try-2.diff

File introspection.py-try-2.diff, 430 bytes (added by Bill Fenner <fenner@…>, 7 years ago)

A less incorrect diff for introspection.py

Line 
1--- introspection.py.orig       Sat Apr 14 16:18:24 2007
2+++ introspection.py    Sat Apr 14 17:08:25 2007
3@@ -85,7 +85,7 @@
4     FIELD_TYPE.LONG: 'IntegerField',
5     FIELD_TYPE.LONGLONG: 'IntegerField',
6     FIELD_TYPE.SHORT: 'IntegerField',
7-    FIELD_TYPE.STRING: 'TextField',
8+    FIELD_TYPE.STRING: 'CharField',
9     FIELD_TYPE.TIMESTAMP: 'DateTimeField',
10     FIELD_TYPE.TINY: 'IntegerField',
11     FIELD_TYPE.TINY_BLOB: 'TextField',