标签:detail 字段 max mod art mode .net port https
from django.db import models # Create your models here. class Category(models.Model): name = models.CharField(max_length=100) class Article(models.Model): title = models.CharField(max_length=100) content = models.TextField() # 是由Category影响Article category = models.ForeignKey(‘Category‘,on_delete=models.CASCADE,related_name="article_category")
https://blog.csdn.net/xujin0/article/details/83552349
https://blog.csdn.net/hpu_yly_bj/article/details/78939748
标签:detail 字段 max mod art mode .net port https
原文地址:https://www.cnblogs.com/shengulong/p/10334175.html