摘要: 1.将mysql默认引擎设置为InnoDB2.修改settings.py 1 DATABASES = { 2 'default': { 3 'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. 4 'NAME': 'online_auction', # Or path to database file if u 阅读全文
posted @ 2013-07-12 20:35 支點 阅读(500) 评论(0) 推荐(0) 编辑