【文件属性】:
文件名称:Blog:完整的博客网站
文件大小:24.03MB
文件格式:ZIP
更新时间:2021-05-12 20:48:59
blog django blogging restful-api HTML
博客
完整的博客网站
入门
安装要求
$ pip install -r requirements.txt
创建并应用迁移
$ python manage.py makemigrations
$ python manage.py migrate
创建超级用户和设置管理员配置文件
$ python manage.py createsuperuser --username=admin --email=yourmail@subdomain.com
更新Settings.py
SECRET_KEY = 'Generate Your Own'
EMAIL_HOST_USER = 'YourEmail.domain.com'
EMAIL_HOST_PASSWORD = 'YourPassword'
更新MyBlog / templates / MyBlog / AboutMe.html
Add You