Re: code of models from oracle to mysql

2009-07-15 Thread Vincent
thank you lan. i solve the problem with your idea. On Jul 15, 11:44 pm, Ian Kelly wrote: > On Jul 15, 7:07 am, Karen Tracey wrote: > > > On Wed, Jul 15, 2009 at 4:18 AM, pho...@gmail.com wrote: > > > > the code of models: > > >    mgsyxs = models.DecimalField(decimal_places=-127, null=True, >

Re: code of models from oracle to mysql

2009-07-15 Thread Ian Kelly
On Jul 15, 7:07 am, Karen Tracey wrote: > On Wed, Jul 15, 2009 at 4:18 AM, 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

Re: code of models from oracle to mysql

2009-07-15 Thread Karen Tracey
On Wed, Jul 15, 2009 at 4:18 AM, pho...@gmail.com wrote: > > Hi, all > > i have used the command 'manage.py inspectdb' to generate code of > models. > then i want to use the code to create dbtable in mysql, and i got > errormessage: >Traceback (most recent call last): > [snip] > File "C:\Pyt

code of models from oracle to mysql

2009-07-15 Thread pho...@gmail.com
Hi, all i have used the command 'manage.py inspectdb' to generate code of models. then i want to use the code to create dbtable in mysql, and i got errormessage: Traceback (most recent call last): File "C:\vincent\wd\django\mysite\mysite\manage.py", line 11, in execute_manager(settings