> > Do you know what type in model will map to NUMBER in oracle?
>
> There is none. The proper type would be a floating-point
> DecimalField, but Django doesn't allow that as the decimal_places
> attribute is required. I'm not really sure why that is; maybe the
> requirement could be relaxed?
>
> If you don't need a lot of precision, then you could probably get away
> with using a FloatField. Otherwise you might want consider creating a
> custom field that looks like a FloatField but uses decimals instead of
> floats.
>
Not if you have a "legacy" database which uses NUMBER, I'm guessing...
I'd have thought the inability to work with any particular common field
type should be a bug, as it could effectively prevent working with
non-managed models altogether.
Cheers,
Nick
--
Nick Phillips / +64 3 479 4195 / nick.p...@otago.ac.nz
# these statements are my own, not those of the University of Otago