#19884: Inspectdb on Oracle doesn't produce correct field types -------------------------------------+------------------------------------- Reporter: akaariai | Owner: nobody Type: Bug | Status: new Component: Database | Version: 1.4 layer (models, ORM) | Keywords: Severity: Normal | Has patch: 0 Triage Stage: Accepted | Needs tests: 0 Needs documentation: 0 | Easy pickings: 0 Patch needs improvement: 0 | UI/UX: 0 | -------------------------------------+------------------------------------- The test inspectdb.test_field_types() has multiple errors, at least: - CharField lengths not correctly inspected (returns double the length of generated field) - FloatField not correctly inspected (returns DecimalField with max_digits=-127) - DateTimeField is inspected as TimeField
Getting all these to work correctly will be somewhat hard. So, the suggested short-term fix is to just mark the test as expectedFailure on Oracle. Inspectdb isn't high-priority as the output should be hand-edited in any case. -- Ticket URL: <https://code.djangoproject.com/ticket/19884> Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.