4 ms·
I've messed with inspectdb a few times, it's a good trick to know if you're in the land of django: https://docs.djangoproject.com/en/dev/howto/legacy-databases
by asparagui 13y ago
I've messed with inspectdb a few times, it's a good trick to know if you're in the land of django:
https://docs.djangoproject.com/en/dev/howto/legacy-databases/ https://docs.djangoproject.com/en/dev/howto/legacy-databases...
- bmelton 13y agoCaveat: It's also frigging miserable if you are in the minority of developers using Django with Oracle DB. It gets quite a bit wrong, but my main gripe is that I can't inspectdb against an Oracle table and then syncdb the resultant models and get the same (or even necessarily working) tables. YMMV.