Tag Archives: database

Fixing lousy introspection support in Python DB APIs (partially)

For my internship at Think Wize, I’ve been working on a custom Django management command that compares the current model definitions (models.py) and the current database schema, and tries to spot the differences. I’ve called it checkdb. Optionally it can also attempt to fix them, with checkdb –fix.
syncdb is not agile
Django’s syncdb management command, used [...]