gareth_rees (
gareth_rees) wrote2013-03-24 07:08 pm
Bogus foreign keys in Django
This is a problem that had me puzzled for a while, but has a really simple solution, so I’m writing it up here in case it might be useful to other developers who find themselves in this slightly bizarre situation.
Imagine that you are developing a web site using the Django framework. ( The underlying database has been in production for some years... )