Aphorism
the fight is worth it.
django models 连接 sqlite 数据库
django 版本为 1.11.7
在 blog 项目下创建一个 app article :python manage.py startapp article
在 blog 项目结构下会多出一个 article 目录
在 article 下面的 models.py 文件中输入
from django.db import models
class Article(models.Model):
name = models.CharField('名称',max_leng