Could not import 'utils.exception.exception_handler' for API setting 'EXCEPTION_HANDLER'.错误

Today met Could not import 'utils.exception.exception_handler' for API setting 'EXCEPTION_HANDLER' at the time of development. Mistake, how do not want to understand why, as have their own code, but also to complete, this is the app which will error, then thought will not change the field model is inside the table did not migrate? Then put the table before I changed, conducted a migration, the migration is complete, the problem is resolved.

Conclusion: model in Table After he best on the implementation of the migration command directly, or may lead to an unexpected fatal error!

Guess you like

Origin www.cnblogs.com/chanyuli/p/12074665.html