#5014: manage.py inspect db is not using the new decimalField
-------------------------------------------+--------------------------------
Reporter: James <[EMAIL PROTECTED]> | Owner: nobody
Status: new | Component: Database
wrapper
Version: SVN | Resolution:
Keywords: | Stage: Accepted
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
-------------------------------------------+--------------------------------
Changes (by PhiR):
* needs_better_patch: => 0
* stage: Unreviewed => Accepted
* needs_tests: => 0
* needs_docs: => 0
Comment:
This model:
{{{
class DecimalTest(models.Model):
test = models.DecimalField(max_digits=10, decimal_places=3)
}}}
will be introspected as:
{{{
class TimesheetDecimaltest(models.Model):
id = models.IntegerField(primary_key=True)
test = models.TextField() # This field type is a guess.
class Meta:
db_table = u'timesheet_decimaltest'
}}}
using activepython 2.5.1 under windows xp, with sqlite3 backend.
Could you please add more details about your config, especially the
backend you used?
--
Ticket URL: <http://code.djangoproject.com/ticket/5014#comment:1>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---