October 22, 2014
Django 1.7.1 fixes several bugs in 1.7.
contenttypes
table (#22411).UnicodeDecodeError
when the flush
error message contained
Unicode characters (#22882).CHECK
SQL clauses which were omitted on some backends
when not using migrations (#23416).type
objects in migrations (#22951).@deconstructible
decorator now fails with a ValueError
if the
decorated object cannot automatically be imported (#23418).inlineformset_factory()
error message that caused a
crash (#23451).ABSOLUTE_URL_OVERRIDES
with the
'auth.User'
model (#11775). As a side effect, the setting now
adds a get_absolute_url()
method to any model that appears in
ABSOLUTE_URL_OVERRIDES
but doesn’t define get_absolute_url()
.index_together
or unique_together
model options no longer
results in infinite migrations (#23452).contrib.sitemaps
if lastmod
returned a date
rather
than a datetime
(#23403).app_label
s that have the same last
part (e.g. django.contrib.auth
and vendor.auth
) (#23483).F
objects (#23492).cy
) and several Chinese locales (zh_CN
,
zh_Hans
, zh_Hant
and zh_TW
) have been added. Formats for
Macedonian have been fixed (trailing dot removed, #23532).ManyToManyField('self')
) (#23503).get_extra()
,
get_max_num()
, and
get_min_num()
hooks to
GenericInlineModelAdmin
(#23539).migrations.RunSQL
no longer require percent sign escaping. This is
now consistent with cursor.execute()
(#23426).SERIALIZE
entry in the
TEST
dictionary usable (#23421).SchemaEditor
for MySQL GIS backend so that spatial indexes will be
created for apps with migrations (#23538).SchemaEditor
for Oracle GIS backend so that spatial metadata and
indexes will be created for apps with migrations (#23537).related_name
model field option to unicode during migration
generation to generate migrations that work with both Python 2 and 3
(#23455).MigrationWriter
to handle builtin types without imports
(#23560).deepcopy
on ErrorList
(#23594).admindocs
view to browse view details check
if the view specified in the URL exists in the URLconf. Previously it was
possible to import arbitrary packages from the Python path. This was not
considered a security issue because admindocs
is only accessible to staff
users (#23601).UnicodeDecodeError
crash in AdminEmailHandler
with non-ASCII
characters in the request (#23593).get_or_create
and update_or_create
on related managers
causing IntegrityError
(#23611).urlsafe_base64_decode()
return the proper
type (byte string) on Python 3 (#23333).makemigrations
can now serialize timezone-aware values
(#23365).ModelAdmin.list_filter
(#23616).Model.check()
is unreachable (#23615).makemigrations
to detect changes to
Meta.db_table
(#23629).makemessages
where static files were
unexpectedly ignored (#23583).Oct 31, 2018