Django at a glance
http://www.djangoproject.com/documentation/overview/
-----------------------------
Design your model:object-relational mapper
Install it: create the database
Enjoy the free API : got a free,and rich,Python API to access the data.
A dynamic admin interface: Once the models are defined,Django can
automatically create a professional ,production ready administrative
interface -- a web site that lets authenticated user add,change and
delete objects.
One typical workflow in creating Django apps is to create models and
get the admin sites up and running as fast as possible, so your staff (or
clients) can start populating data. Then, develop the way data is
presented to the public.
Design your URL's
Write your view
Each view is responsible for doing one of two things:Returing an
HttpResponse object containing the content for the requested page,or
raising an exception such as Http4.4.
Design your templates
本文介绍如何使用Django框架快速搭建应用程序。从设计模型到安装数据库,再到利用Django的免费API和动态管理界面进行数据管理。文章还讲解了URL设计、视图编写及模板设计的基本流程。
1380

被折叠的 条评论
为什么被折叠?



