Python Web 框架 Django 2.1.1 发布,Bug 修复版本

栏目: 软件资讯 · 发布时间: 7年前

内容简介:Django 2.1.1 主要修复了 2.1 版本的一些 bug : Fixed a race condition in QuerySet.update_or_create() that could result in data loss (#29499). Fixed a regression where QueryDict.urlencode() crashed ...

Django 2.1.1 主要修复了 2.1 版本的一些 bug :

  • Fixed a race condition in QuerySet.update_or_create() that could result in data loss (#29499).

  • Fixed a regression where QueryDict.urlencode() crashed if the dictionary contains a non-string value (#29627).

  • Fixed a regression in Django 2.0 where using manage.py test --keepdb fails on PostgreSQL if the database exists and the user doesn’t have permission to create databases (#29613).

  • Fixed a regression in Django 2.0 where combining Q objects with __in lookups and lists crashed (#29643).

  • Fixed translation failure of DurationField’s “overflow” error message (#29623).

  • Fixed a regression where the admin change form crashed if the user doesn’t have the ‘add’ permission to a model that uses TabularInline (#29637).

  • Fixed a regression where a related_query_name reverse accessor wasn’t set up when a GenericRelationis declared on an abstract base model (#29653).

  • Fixed the test client’s JSON serialization of a request data dictionary for structured content type suffixes (#29662).

  • Made the admin change view redirect to the changelist view after a POST if the user has the ‘view’ permission (#29663).

  • Fixed admin change view crash for view-only users if the form has an extra form field (#29682).

  • Fixed a regression in Django 2.0.5 where QuerySet.values() or values_list() after combining querysets with extra() with union()difference(), or intersection() crashed due to mismatching columns (#29694).

  • Fixed crash if InlineModelAdmin.has_add_permission() doesn’t accept the obj argument (#29723).

下载地址:

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

源码地址:


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

PHP程序设计

PHP程序设计

勒道夫 / 陈浩、胡丹、徐景 / 电子工业出版社 / 2009-3 / 80.00元

《PHP程序设计(第2版)》是最新版本PHP 5的权威指南,其中包含创建者PHP的创建者 Rasmus Lerdorf的独到的见解。《PHP程序设计(第2版)》以一种清晰而简练的风格介绍了PHP语言的语法和程序设计技术,并通过大量的示例演示了它们的正确使用方法和习惯用法。《PHP程序设计(第2版)》还给出了设计风格提示和实际的程序设计建议,这些将帮助你不仅成为一个PHP程序员,而且将是出色的PHP......一起来看看 《PHP程序设计》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

URL 编码/解码
URL 编码/解码

URL 编码/解码

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具