oracle inspectdb CharFields missing "max_length"
|Reported by:||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
forgive the flimsy report - I don't have an oracle db to confirm this. I hacked the oracle code up to work with ceODBC, and inspectdb generated
td_fil = models.CharField(blank=True)
which causes syncdb:
"td_fil": CharFields require a "max_length" attribute.
"CharField has an extra required argument, max_length, the maximum length (in characters) of the field. The max_length is enforced at the database level and in Django’s validation." http://www.djangoproject.com/documentation/model-api/#charfield
I don't think my hacks caused that. but it would be really nice if someone could confirm it.