发布于 2017-07-02 23:53:01 | 246 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的Django 入门教程,程序狗速度看过来!

Django Python WEB开发框架

Django是一个开放源代码的Web应用框架,由Python写成。采用了MVC的软件设计模式,即模型M,视图V和控制器C。它最初是被开发来用于管理劳伦斯出版集团旗下的一些以新闻内容为主的网站的,即是CMS(内容管理系统)软件。并于2005年7月在BSD许可证下发布。这套框架是以比利时的吉普赛爵士吉他手Django Reinhardt来命名的。


Django 是一个高级的 Python Web 框架,旨在快速开发和简单,实用的设计。

Django 1.11.3 已发布,该版本修复了 1.11.2 中的一些 bug ,具体如下:

  • Removed an incorrect deprecation warning about a missing renderer argument if a Widget.render() method accepts **kwargs

  • Fixed a regression causing Model.__init__() to crash if a field has an instance only descriptor

  • Fixed an incorrect DisallowedModelAdminLookup exception when using a nested reverse relation in list_filter 

  • Fixed admin’s FieldListFilter.get_queryset() crash on invalid input

  • Fixed invalid HTML for a required AdminFileWidget 

  • Fixed model initialization to set the name of class-based model indexes for models that only inherit models.Model 

  • Fixed crash in admin’s inlines when a model has an inherited non-editable primary key 

  • Fixed QuerySet.union()intersection(), and difference() when combining with an EmptyQuerySet

  • Prevented Paginator’s unordered object list warning from evaluating a QuerySet.

  • Fixed the value of redirect_field_name in LoginView’s template context. It’s now an empty string (as it is for the original function-based login() view) if the corresponding parameter isn’t sent in a request (in particular, when the login page is accessed directly).

  • Prevented attribute values in the django/forms/widgets/attrs.html template from being localized so that numeric attributes (e.g. max and min) of NumberInput work correctly 

  • Removed casting of the option value to a string in the template context of the CheckboxSelectMultipleNullBooleanSelectRadioSelectSelectMultiple, and Select widgets . In Django 1.11.1, casting was added in Python to avoid localization of numeric values in Django templates, but this made some use cases more difficult. Casting is now done in the template using the |stringformat:'s' filter.

  • Prevented a primary key alteration from adding a foreign key constraint ifdb_constraint=False 

  • Fixed UnboundLocalError crash in RenameField with nonexistent field 

  • Fixed a regression preventing a model field’s limit_choices_to from being evaluated when a ModelForm is instantiated

下载地址:

https://www.djangoproject.com/download/



历史版本 :
Django 2.0 正式发布,Python 的 Web 框架
DjangoX v0.4.1 发布, Django 强大灵活后台系统
Django 2.0 beta 1 发布,Python 的 Web 框架
Django 2.0 beta 发布,Python 的 Web 框架
Django 1.11.6 发布,Python 的 Web 框架
Django 2.0a1 发布,Python 的 Web 框架
Django 1.11.5 和 1.10.8 发布,修复安全问题
DjangoX v0.4.0 发布, Django 强大灵活后台系统
Django 1.11.4 发布,Python 的 Web 框架
Django 1.11.3 发布,Python 的 Web 框架
Django 1.11.1 发布,Python 的 Web 框架
Django 1.10.6 发布,Python 的 Web 框架
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务