django笔记(一)

django笔记(一) 1、创建django项目 django-admin startproject firstsitedjango-admin startproject firstsite 2、创建app python manage.py startapp firstapppython manage.py startapp firstapp 3、setting里面增加app 4、合并数据库 python manage.py migratepython manage.py migrate 5、运行网站 python manage.py runserverpython manage.py runserver 6、建立templates、static文件夹 7...