Also they should only be raised if allow_syncdb does exist, not just if allow_migrate does not. Refs comments on 25084101