create() populates manytomany with every row in the related table, rather than leave it blank

前端 未结 0 1117
暖寄归人
暖寄归人 2021-01-06 22:52

Currently, I have three models in models.py:

class User(AbstractUser):
    pass 

class Watchlist(models.Model):
    user = models.OneToOneField(User, on_dele         


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