我在试着装夹具:
/ manage.py /Initialdata.json
但是,在没有追溯的情况下发生了错误(我不知道问题是哪一种模型):
ValueError: Problem installing fixture 'stock/fixtures/initial_data.json': The database backend does not accept 0 as a value for AutoField.怎么回事?
https://stackoverflow.com/questions/19402052
复制相似问题