Opened 16 years ago

Closed 16 years ago

Last modified 13 years ago

#8347 closed (fixed)

missing fields/definitions in sqlite3 introspection module

Reported by: trbs Owned by: nobody
Component: Database layer (models, ORM) Version: dev
Severity: Keywords: sqlite, missing, fields, introspection
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The floatfield is missing in sqlite3 introspection module, 'real' fields in sqlite3 are suppose to use FloatField in Django ORM.

Attached is a very simple patch to add it to the base_data_types_reverse list.

Attachments (2)

django_sqlite_backend_introspection_real_missing.diff (416 bytes ) - added by trbs 16 years ago.
django_sqlite_backend_introspection_real_missing.2.diff (914 bytes ) - added by trbs 16 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by trbs, 16 years ago

updated the patch to also include: 'smallint unsigned', 'integer unsigned' and 'decimal'.

comment:2 by trbs, 16 years ago

Keywords: sqlite missing fields introspection added
milestone: 1.0
Summary: real / floatfield is missing in sqlite3 introspection modulemissing fields/definitions in sqlite3 introspection module

comment:3 by Jacob, 16 years ago

Triage Stage: UnreviewedAccepted

comment:4 by Malcolm Tredinnick, 16 years ago

Resolution: fixed
Status: newclosed

(In [8580]) Fixed #8347 -- Added a few missing field type conversion to SQLite's inspectdb
handling. Patch from trbs.

comment:5 by Jacob, 13 years ago

milestone: 1.0

Milestone 1.0 deleted

Note: See TracTickets for help on using tickets.
Back to Top