Changes between Initial Version and Version 1 of Ticket #9991


Ignore:
Timestamp:
Jan 9, 2009, 5:26:32 AM (16 years ago)
Author:
Ramiro Morales
Comment:

(edited description)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9991 – Description

    initial v1  
    11Using python manage.py inspectdb outputs a models.TextField type as guess for every 'real' (float4) column when using postgresql (psycopg2). Example:
     2
     3{{{
    24    modifier_float = models.TextField() # This field type is a guess.
     5}}}
    36
    47Quick 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).
Back to Top