-
2 votesanswersviews
序列化与Django Rest Framework的通用关系,具有写支持
我有以下型号: class TaggedItem(models.Model): tag = models.SlugField() content_type = models.ForeignKey(ContentType, on_delete=models.CASCADE) object_id = models.PositiveIntegerField() conte...