how can I create a Like button with generic relations?

后端 未结 0 1625
失恋的感觉
失恋的感觉 2021-01-23 23:08

*class Like(model.Models) object_content_type = models.ForeignKey( ContentType, blank=True, null=True, related_name=\'object_notifications\', on_delete=models.CASCADE,)

o

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