1.安装django

pip3 install django

2、创建一个Django对象

django-admin.py  startproject   项目名称
django-admin.py  startproject    mysite

3、创建一个应用

python3 manage.py startapp blog(应用名称) 

4、启动Django项目

python3 manage.py runserver  8080

5.创建表命令;

进入应用   python3 manage.py makemigrations

      python3 manager.py migrate

6.创建管理员

      python3 manager.py  createsuperuser    后根据提示输入要创建的管理员的账号邮箱等信息

最新文章

  1. 【转】What is an SDET? Part 2 – Skill Matrix of SDET
  2. 使用ASP.NET Web API 2创建OData v4 终结点
  3. 说说chrome上的JS调试
  4. Mysql 安装问题排查方法
  5. CreateFile,WriteFile,ReadFile
  6. swift入门-day02
  7. H TML5 之 (1) 初识HTML5
  8. A simple Gaussian elimination problem.
  9. 【nodejs】创建udp套接字的类型参数的含义
  10. ex3多类问题和NN中的前向传播
  11. Android 应用退到后台
  12. 笔记之monkey自定义脚本
  13. CF1139B Chocolates
  14. swift 实践- 01 -- UItableView的简单使用
  15. css写复选框
  16. Liunx Pwd
  17. R语言如何将字符串转变为命令执行
  18. Struck: Structured Output Tracking with Kernels
  19. nth-digit
  20. Calendar 中getActualMaximumd 功能

热门文章

  1. Redis具体解释
  2. Docker 安装和基础用法
  3. Unity应用架构设计(1)—— MVVM 模式的设计和实施(Part 2)
  4. Mybatis判断map参数是否存在
  5. 20.2.翻译系列:EF 6中基于代码的数据库迁移技术【EF 6 Code-First系列】
  6. 20.翻译系列:Code-First中的数据库迁移技术【EF 6 Code-First系列】
  7. mysql触发器详解 mysql触发器
  8. 织梦dedecms移动版设置二级域名的方法 织梦如何设置m.开头的域名
  9. Laravel 执行流程(一)之自动加载
  10. JavaScript系统对象