Django 1.10.1 released, Django is a Python programming language-driven open source Model-View-Controller (MVC)-style WEB application Framework (Tengyun technology ty300.com). With Django, we can create high-quality, maintainable, database-driven applications in minutes (diligent learning qkxue.net).
This version is primarily for fixing bugs in 1.10. For more details, see the full release notes.
Bug fixes:
Fixed a crash in MySQL connections where SELECT @ @SQL_AUTO_IS_NULL doesn ' t return a result (#26991).
Allowed User.is_authenticated and User.is_anonymous properties to be compared using = =,! =, and | (#26988, #27154).
Removed the Broken Basecommand.usage () method which is for Optparse support (#27000).
Fixed A checks framework crash with an empty meta.default_permissions (#26997).
Fixed a regression in the number of queries if using Radioselect with a Modelchoicefield form field (#27001).
Fixed a crash if request. meta[' Content_length ' is an empty string (#27005).
Fixed The IsNull lookup on a foreignkey with it to_field pointing to a charfield or pointing to a charfield defined with Primary_key=true (#26983).
prevented the migrate command from raising to inconsistentmigrationhistory in the presence of unapplied squashed migrations ( #27004).
Fixed a regression in Client.force_login () which required specifying a backend rather than automatically using the first O NE If multiple backends is configured (#27027).
Made queryset.bulk_create () properly initialize model instances on backends, such as PostgreSQL, this support returning th e IDs of the created records so, many-to-many relationships can is used on the new objects (#27026).
Fixed Crash of Django.views.static.serve () with show_indexes enabled (#26973).
Fixed Clearablefileinput to avoid the required HTML attribute when initial data exists (#27037).
Fixed annotations with database functions if combined with lookups on PostGIS (#27014).
Reallowed The {% for%} tag-Unpack any iterable (#27058).
Made makemigrations skip inconsistent history checks on Non-default databases if database routers aren ' t in use or if no a PPS can is migrated to the database (#27054, #27110, #27142).
removed duplicated managers in Model._meta.managers (#27073).
Fixed Contrib.admindocs crash When a view was in a class, such as some of the admin views (#27018).
Reverted a few admin checks that checked field.many_to_many back to isinstance (field, models. Manytomanyfield) Since it turned out of the checks weren ' t suitable to being generalized like that (#26998).
Added the database alias to the inconsistentmigrationhistory message raised by Makemigrations and migrate (#27089).
Fixed the creation of ContentType and Permission objects for models of applications without migrations when calling the MI Grate command with no migrations to apply (#27044).
Included the already applied migration state changes on the Apps instance provided to the Pre_migrate signal receivers to Allow ContentType renaming-to is performed on model rename (#27100).
reallowed subclassing usercreationform without Username_field in Meta.fields (#27111).
Fixed a regression in model forms where model fields with a default this didn ' t appear in POST data no longer used the Def Ault (#27039).
Python WEB application Framework Django 1.10.1 released, bug fixes