Closed GoogleCodeExporter closed 8 years ago
thanks for the report..
i'm very busy at the moment, i'll try and look at this as soon as i can.
it's likely missing the decimal_places part during introspection.
could be that this goes down to django's introspection module itself.
Original comment by v.oostv...@gmail.com
on 1 Feb 2009 at 2:58
I've tested this in a project of my own.. and it seems to work fine for me.
Using PostgreSQL-8.3(.5-0ubuntu8.10), latest django_extensions and lastest
django-trunk.
Field in models.py::
test = models.DecimalField(decimal_places=5, max_digits=15)
Yields no differences, when changed to decimal_places=6 yields::
|--+ field 'test' parameters differ: db=numeric(15, 5), model=numeric(15, 6)
Could you (double) check your project and otherwise upload a tarball with the
problem
here ?
Thanks
Original comment by v.oostv...@gmail.com
on 5 Feb 2009 at 10:05
Hi,
I'm very sorry, it was a bug in the psycopg2 package provided by MacPorts. I
installed the newest psycopg2
using easy_install and now everything works as expected. :)
Philipp
Original comment by philipp....@gmail.com
on 5 Feb 2009 at 10:49
no problem :)
for future reference we now know that this can happen in 'crappy' psycopg2
versions :)
Original comment by v.oostv...@gmail.com
on 6 Feb 2009 at 9:00
Original issue reported on code.google.com by
philipp....@gmail.com
on 1 Feb 2009 at 1:41