thank you lan.

i solve the problem with your idea.

On Jul 15, 11:44 pm, Ian Kelly <ian.g.ke...@gmail.com> wrote:
> On Jul 15, 7:07 am, Karen Tracey <kmtra...@gmail.com> wrote:
>
> > On Wed, Jul 15, 2009 at 4:18 AM, pho...@gmail.com <pho...@gmail.com> wrote:
>
> > > the code of models:
> > >    mgsyxs = models.DecimalField(decimal_places=-127, null=True,
> > > max_digits=126, db_column='MGSYXS', blank=True) # Field name made
> > > lowercase.
>
> > > i appreciate for your suggestion.
>
> > decimal_places=-127 doesn't look right, I don't think that value should be
> > lower than 0.  What is this field defined as in your original (Oracle?) db?
> > It's possible that inspectdb is not working properly for whatever it you
> > have in your original DB.
>
> DecimalField(decimal_places=-127, max_digits=126) is what the Oracle
> introspection returns for float columns, since that's how the database
> describes them.  If you change them to FloatField you should be okay.
>
> Ian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to