发布于 2016-02-02 00:54:42 | 162 次阅读 | 评论: 0 | 来源: 网友投递
Django Python WEB开发框架
Django是一个开放源代码的Web应用框架,由Python写成。采用了MVC的软件设计模式,即模型M,视图V和控制器C。它最初是被开发来用于管理劳伦斯出版集团旗下的一些以新闻内容为主的网站的,即是CMS(内容管理系统)软件。并于2005年7月在BSD许可证下发布。这套框架是以比利时的吉普赛爵士吉他手Django Reinhardt来命名的。
Django 1.9.2/1.8.9 发布,其中1.8.9更新如下:
Fixed a regression that caused the “user-tools” items to display on the admin’s logout page (#26035).
Fixed a crash in the translations system when the current language has no translations (#26046).
Fixed a regression that caused the incorrect day to be selected when opening the admin calendar widget for timezones from GMT+0100 to GMT+1200 (#24980).
Fixed a regression in 1.8.8 causing incorrect index handling in migrations on PostgreSQL when adding db_index=True
or unique=True
to aCharField
or TextField
that already had the other specified, or when removing one of them from a field that had both, or when addingunique=True
to a field already listed in unique_together
(#26034).
Fixed a crash when using an __in
lookup inside a Case
expression (#26071).
Fixed a crash when using a reverse OneToOneField
inModelAdmin.readonly_fields
(#26060).
Fixed a regression in Django 1.8.5 that broke copying a SimpleLazyObject
with copy.copy()
(#26122).
Fixed the contrib.gis
map widgets when usingUSE_THOUSAND_SEPARATOR=True
(#20415).
1.9.2 的主要更新如下:
Security issue: User with “change” but not “add” permission can create objects for ModelAdmin
’s with save_as=True
¶
详情请看:发行说明
Django 是 Python 编程语言驱动的一个开源模型-视图-控制器(MVC)风格的 Web 应用程序框架。使用 Django,我们在几分钟之内就可以创建高品质、易维护、数据库驱动的应用程序。
Django 框架的核心组件有:
用于创建模型的对象关系映射
为最终用户设计的完美管理界面
一流的 URL 设计
设计者友好的模板语言
缓存系统