摘要: A test case for a database-backed Web site isn't much use if there isn't any data in the database. To make it easy to put test data into the database, Django's customTestCaseclass provides a way of loadingfixtures.(see detail here)Once you've created a fixture and placed it in afixtu 阅读全文
posted @ 2012-10-30 22:15 Alex_Waiter 阅读(751) 评论(0) 推荐(0)