Changes between Initial Version and Version 1 of Ticket #9991
- Timestamp:
- Jan 9, 2009, 5:26:32 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #9991 – Description
initial v1 1 1 Using python manage.py inspectdb outputs a models.TextField type as guess for every 'real' (float4) column when using postgresql (psycopg2). Example: 2 3 {{{ 2 4 modifier_float = models.TextField() # This field type is a guess. 5 }}} 3 6 4 7 Quick fix: Append "700: 'FloatField'" to postgres' introspection.py's data_types_reverse dict. SVN is acting weird and I don't really know django's underlying codebase, so I rather let someone else patch this (or explain why it's intended).