2013-02-15 90 views
0

正在創建一個對象,像這樣, OrderItem.objects.create(order,shopping_id=_shopping_id(request), quantity=quantity, item=i, created_by=anon_user, modified_by=anon_user)如何處理創建()恰恰1參數(7給出)

我收到此錯誤,create() takes exactly 1 argument (7 given) 我需要這方面的幫助。

回答

相關問題