DJANGO: How to specify primary key in fixture when the primary key is not “id”

后端 未结 0 1875
长情又很酷
长情又很酷 2020-11-30 19:35

I just changed my pk name in a model.

This is how my model was:

class Course(LogsMixin, models.Model):
    """Definición del modelo de P         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题