欢迎来到 Django 1.0.1 版本!
This is the first "bugfix" release in the Django 1.0 series, improving the stability and performance of the Django 1.0 codebase. As such, Django 1.0.1 contains no new features (and, pursuant to our compatibility policy, maintains backwards compatibility with Django 1.0), but does contain a number of fixes and other improvements. Django 1.0.1 is a recommended upgrade for any development or deployment currently using or targeting Django 1.0.
Django 1.0.1 contains over two hundred fixes to the original Django 1.0 codebase; full details of every fix are available in the history of the 1.0.X branch, but here are some of the highlights:
django.contrib.comments
, pertaining to RSS
feeds of comments, default ordering of comments and the XHTML and
internationalization of the default templates for comments.INSERT
-only queries.unique
and unique_together
model
constraints in automatically-generated forms.upload_to
declarations when
handling file uploads through automatically-generated forms.list_display
.join
template filter. Previously, literal strings passed
to join
were automatically escaped, contrary to the
documented behavior for autoescaping and literal strings. Literal strings
passed to join
are no longer automatically escaped, meaning you
must now manually escape them; this is an incompatibility if you
were relying on this bug, but not if you were relying on escaping
behaving as documented.5月 12, 2023