————Python3.3—connector/python 1.1.4—————————————
manage.py syncdb
出现TypeError:sql_for_inline_foreign_key_references() takes 4 posional arguments but 5 were given...
解决方法:
修改在python\Lib\site-packages\mysql\connector\django中的creation.py,修改他的方法,原本是-》def sql_for_inline_foreign_key_references(self, field, known_models,style),修改成-》def sql_for_inline_foreign_key_references(self, model, field, known_models,style)