实例介绍
Django是一个开放源代码的Web应用框架,由Python写成。采用了MVC的软件设计模式,即模型M,视图V和控制器C。它最初是被开发来用于管理劳伦斯出版集团旗下的一些以新闻内容为主的网站的,即是CMS(内容管理系统)软件。并于2005年7月在BSD许可证下发布。这套框架是以比利时的吉普赛爵士吉他手DjangoReinhardt来命名的。
【实例截图】
【核心代码】
django
└── django
├── gitbook
│ ├── app.js
│ ├── fonts
│ │ └── fontawesome
│ │ ├── FontAwesome.otf
│ │ ├── fontawesome-webfont.eot
│ │ ├── fontawesome-webfont.svg
│ │ ├── fontawesome-webfont.ttf
│ │ └── fontawesome-webfont.woff
│ ├── images
│ │ ├── apple-touch-icon-precomposed-152.png
│ │ └── favicon.ico
│ ├── plugins
│ │ ├── gitbook-plugin-fontsettings
│ │ │ ├── buttons.js
│ │ │ └── website.css
│ │ ├── gitbook-plugin-highlight
│ │ │ ├── ebook.css
│ │ │ └── website.css
│ │ ├── gitbook-plugin-search
│ │ │ ├── lunr.min.js
│ │ │ ├── search.css
│ │ │ └── search.js
│ │ └── gitbook-plugin-sharing
│ │ └── buttons.js
│ └── style.css
├── images
│ └── mvt.png
├── index.html
├── part1
│ ├── 1.html
│ ├── 2.html
│ ├── 3.html
│ ├── 4.html
│ ├── 5.html
│ ├── 6.html
│ ├── 7.html
│ └── images
│ ├── applist.png
│ ├── app.png
│ ├── migrate.png
│ ├── server.png
│ ├── shell.png
│ ├── templates.png
│ ├── test1.png
│ ├── workon1.png
│ └── workon2.png
├── part2
│ ├── 1.html
│ ├── 2.html
│ ├── 3.html
│ ├── 4.html
│ ├── 5.html
│ ├── 6.html
│ └── images
│ └── orm.png
├── part3
│ ├── 1.html
│ ├── 2.html
│ ├── 3.html
│ ├── 4_1.html
│ ├── 4_2.html
│ ├── 4_3.html
│ ├── 4.html
│ ├── 5.html
│ ├── 6.html
│ ├── 7.html
│ └── images
│ ├── handle.png
│ ├── login.gif
│ ├── redirect1.png
│ └── redirect2.png
├── part4
│ ├── 1.html
│ ├── 2.html
│ ├── 3.html
│ ├── 4.html
│ ├── 5.html
│ ├── 6.html
│ ├── 7.html
│ └── images
│ ├── csrf1.png
│ ├── csrf2.png
│ ├── csrf3.png
│ ├── escape.png
│ ├── page.png
│ └── verifycode.png
├── part5
│ ├── 1.html
│ ├── 2.html
│ ├── 3.html
│ ├── 4.html
│ ├── 5.html
│ ├── 6.html
│ ├── 7.html
│ ├── 8.html
│ └── images
│ ├── city.gif
│ ├── static.png
│ └── templates.png
├── part6
│ ├── 1.html
│ ├── 2.html
│ ├── 3.html
│ ├── 4.html
│ ├── 5.html
│ ├── 6.html
│ ├── 7.html
│ └── images
│ ├── editor.png
│ └── static.png
├── part7
│ ├── 1.html
│ ├── 2_1.html
│ ├── 2_2.html
│ ├── 2.html
│ ├── 3.html
│ ├── 4.html
│ ├── 5.html
│ ├── 6.html
│ └── images
│ ├── git0.png
│ ├── init0.png
│ └── init1.png
├── search_index.json
└── 截图和代码
├── git
│ ├── test7.zip
│ └── 总结.txt
├── 入门
│ ├── django-1.8.2.tar.gz
│ ├── test1
│ │ ├── booktest
│ │ │ ├── admin.py
│ │ │ ├── __init__.py
│ │ │ ├── migrations
│ │ │ │ ├── 0001_initial.py
│ │ │ │ ├── 0001_initial.pyc
│ │ │ │ ├── __init__.py
│ │ │ │ └── __init__.pyc
│ │ │ ├── models.py
│ │ │ ├── tests.py
│ │ │ ├── urls.py
│ │ │ └── views.py
│ │ ├── db.sqlite3
│ │ ├── manage.py
│ │ ├── templates
│ │ │ └── booktest
│ │ │ ├── index1.html
│ │ │ ├── index.html
│ │ │ └── show.html
│ │ └── test1
│ │ ├── __init__.py
│ │ ├── __init__.pyc
│ │ ├── settings.py
│ │ ├── settings.pyc
│ │ ├── urls.py
│ │ ├── urls.pyc
│ │ ├── wsgi.py
│ │ └── wsgi.pyc
│ ├── 开发过程.png
│ └── 总结.txt
├── 扩展
│ ├── django-tinymce-2.4.0.tar.gz
│ ├── nginx-1.6.3.tar.gz
│ ├── test6.zip
│ ├── uwsgi-2.0.14.tar.gz
│ └── 总结.txt
├── 模型
│ ├── test2
│ │ ├── booktest
│ │ │ ├── admin.py
│ │ │ ├── __init__.py
│ │ │ ├── migrations
│ │ │ │ ├── 0001_initial.py
│ │ │ │ ├── 0001_initial.pyc
│ │ │ │ ├── __init__.py
│ │ │ │ └── __init__.pyc
│ │ │ ├── models.py
│ │ │ ├── tests.py
│ │ │ ├── urls.py
│ │ │ └── views.py
│ │ ├── manage.py
│ │ ├── templates
│ │ │ └── booktest
│ │ │ └── index.html
│ │ └── test2
│ │ ├── __init__.py
│ │ ├── settings.py
│ │ ├── urls.py
│ │ └── wsgi.py
│ └── 总结.txt
├── 模板
│ ├── test4.zip
│ ├── 三层模板继承.png
│ └── 总结.txt
├── 视图
│ ├── test3.zip
│ ├── 总结.txt
│ └── 登录练习的过程.png
└── 高级
├── jquery-1.12.4.min.js
├── test5.zip
└── 总结.txt
45 directories, 160 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论