Possible bug in django oracle backend - no way to map from model type to oracle NUMBER type.

2012-10-17 Thread Michał Nowotka
Currently I'm working with some oracle legacy db which I would like to access using django ORM. I have a column of type NUMERIC (without precision and scale) and all possible values are kept there (for example, 65, 2.3, 0.5) After running inspectdb django suggested that this column sh

Re: Possible bug in django oracle backend - no way to map from model type to oracle NUMBER type.

2012-10-17 Thread Ramiro Morales
On Wed, Oct 17, 2012 at 7:26 AM, Michał Nowotka wrote: > Currently I'm working with some oracle legacy db which I would like to > access using django ORM. > I have a column of type NUMERIC (without precision and scale) and all > possible values are kept there (for example, 65, 2.3, 0.5

Re: Possible bug in django oracle backend - no way to map from model type to oracle NUMBER type.

2012-10-17 Thread Ian Kelly
On Wed, Oct 17, 2012 at 4:26 AM, Michał Nowotka wrote: > Currently I'm working with some oracle legacy db which I would like to > access using django ORM. > I have a column of type NUMERIC (without precision and scale) and all > possible values are kept there (for example, 65, 2.3, 0.5

Re: Possible bug in django oracle backend - no way to map from model type to oracle NUMBER type.

2012-10-17 Thread Nick Phillips
On Wed, 2012-10-17 at 12:16 -0600, Ian Kelly wrote: > > 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

[ANN] Django 1.4.2 and 1.3.4 remedy security issues

2012-10-17 Thread James Bennett
Django 1.4.2 and 1.3.4 have just been released in response to a security issue reported to us. Details are here: https://www.djangoproject.com/weblog/2012/oct/17/security/ Everyone is encouraged to upgrade. -- You received this message because you are subscribed to the Google Groups "Django d

Re: [ANN] Django 1.4.2 and 1.3.4 remedy security issues

2012-10-17 Thread Ross Poulton
Django==1.3.4 doesn't appear to be on Pypi, is it likely to be there soon? On Thursday, 18 October 2012 09:38:49 UTC+11, James Bennett wrote: > > Django 1.4.2 and 1.3.4 have just been released in response to a > security issue reported to us. > > Details are here: > > https://www.djangoproject.

Re: [ANN] Django 1.4.2 and 1.3.4 remedy security issues

2012-10-17 Thread ptone
Seems to be there: http://pypi.python.org/pypi/Django/1.3.4 and pip installs it fine. pypi will always favor the latest version -Preston On Wednesday, October 17, 2012 4:37:12 PM UTC-7, Ross Poulton wrote: > > Django==1.3.4 doesn't appear to be on Pypi, is it likely to be there soon? > > On Th