摘要:
简单效果图1,创建一个项目myblog 可参考这里myblog/ manage.py myblog/ __init__.py settings.py urls.py wsgi.py2,创建blogs app 可参考这里myblog/myblog/blogs/ __init__.py models.py tests.py views.py编写models.py#vim: set fileencoding=utf-8:from django.db import models# Create your models here.cla... 阅读全文