Tim Graham
81cdcb66bc
Fixed #26791 -- Replaced LiveServerTestCase port ranges with binding to port 0.
2016-06-23 12:04:05 -04:00
jasisz
b5a1c3a6f5
Fixed #25920 -- Added support for non-uniform NUMBER_GROUPING.
2016-06-22 17:28:49 -04:00
Zbigniew Siciarz
46338296aa
Fixed typo in 1.11 release notes.
2016-06-22 12:10:42 -04:00
Tim Graham
91c02ca7ba
Fixed a heading typo in docs/releases/1.11.txt
2016-06-22 11:16:18 -04:00
Tim Graham
39805686b3
Refs #21379 , #26719 -- Moved username normalization to AbstractBaseUser.
...
Thanks Huynh Thanh Tam for the initial patch and Claude Paroz for review.
2016-06-21 16:19:37 -04:00
Sergey Fedoseev
5ce660cd65
Fixed #25940 -- Added OGRGeometry.from_gml() and GEOSGeometry.from_gml().
2016-06-21 15:46:27 -04:00
Tim Graham
20d1cb33c2
Fixed #26787 -- Documented deleting and reloading of model instance fields.
...
Thanks Julien Hartmann for the report.
2016-06-21 14:39:17 -04:00
Tobias McNulty
17e661641d
Refs #26666 -- Added ALLOWED_HOSTS validation when running tests.
...
Also used ALLOWED_HOSTS to check for external hosts in assertRedirects().
2016-06-20 11:07:46 -04:00
Claude Paroz
f7a363ee1d
Fixed #26753 -- Made GDAL a required dependency for contrib.gis
...
Thanks Tim Graham for the review.
2016-06-18 10:58:02 +02:00
Jon Dufresne
267dc4addd
Fixed #4136 -- Made ModelForm save empty values for nullable CharFields as NULL.
...
Previously, empty values were saved as strings.
2016-06-13 09:14:36 -04:00
Vytis Banaitis
83120af2c1
Refs #26524 -- Fixed an error in 1.11 release notes.
2016-06-09 20:34:53 -04:00
Berker Peksag
ae2a7da86b
Fixed #20468 -- Added loaddata --exclude option.
...
Thanks Alex Morozov for the initial patch.
2016-06-09 10:35:32 -04:00
krishbharadwaj
f6681393d3
Fixing #26524 -- Made a foreign key id reference in ModelAdmin.list_display display the id.
2016-06-08 17:20:03 -04:00
Berker Peksag
724dd2043e
Fixed #26717 -- Added Serializer.stream_class to customize the stream.
2016-06-08 11:08:18 -04:00
Scott Vitale
be729b6120
Fixed #10107 -- Allowed using mark_safe() as a decorator.
...
Thanks ArcTanSusan for the initial patch.
2016-06-07 12:24:03 -04:00
wim glenn
5ebebd1159
Fixed #26707 -- Added QueryDict.fromkeys()
2016-06-06 08:54:25 -04:00
Tom Christie
da22079c21
Linked to upgrade guide from release notes.
2016-06-06 07:28:55 -04:00
Tim Graham
01e567864e
Added stub release notes for 1.9.8.
2016-06-04 19:58:14 -04:00
Tim Graham
1f5eb521a0
Added release date for 1.9.7.
2016-06-04 19:24:51 -04:00
Vytis Banaitis
2f9c4e2b6f
Fixed #19963 -- Added support for date_hierarchy across relations.
2016-06-04 12:14:02 -04:00
Holly Becker
55fec16aaf
Fixed #26628 -- Changed CSRF logger to django.security.csrf.
2016-06-04 10:17:06 -04:00
Anton I. Sipos
c3495bb984
Fixed #12666 -- Added EMAIL_USE_LOCALTIME setting.
...
When EMAIL_USE_LOCALTIME=True, send emails with a Date header
in the local time zone.
2016-06-04 09:55:50 -04:00
Tim Graham
e2296e7f0a
Fixed #26667 -- Fixed a regression in queries on a OneToOneField that has to_field and primary_key=True.
...
Thanks Simon Charette for review.
2016-06-04 08:04:51 -04:00
mieciu
19ff506878
Fixed #26698 -- Fixed PostgreSQL dbshell crash on an empty database name.
2016-06-03 12:30:21 -04:00
Will Koster
9899347641
Fixed #26638 -- Allowed callable arguments for QuerySet.get_or_create()/update_or_create() defaults.
2016-06-03 10:00:53 -04:00
jrabbit
d65e2899b2
Fixes #26700 -- Added how to upgrade to TEMPLATES link in 1.10 release notes.
2016-06-02 20:27:33 -04:00
Brad Melin
f6517a5335
Fixed #26672 -- Fixed HStoreField to raise ValidationError instead of crashing on non-dict JSON input.
2016-06-02 16:28:01 -04:00
Rustam Kashapov
df8412d2e5
Fixed #26617 -- Added distinct argument to contrib.postgres's StringAgg.
2016-06-02 13:48:35 -04:00
Tim Graham
149ace94df
Updated release notes links to prevent warnings with Sphinx 1.4.2.
2016-06-02 11:41:49 -04:00
Tim Graham
3db04d4422
Fixed #26084 -- Documented that deprecation warnings are no longer loud.
2016-06-01 15:17:25 -04:00
Tim Graham
bc84278615
Fixed #26675 -- Dropped support for PostgreSQL 9.2/PostGIS 2.0.
2016-06-01 07:45:22 -04:00
Tim Graham
47f22e8286
Fixed #25645 -- Dropped support for SpatiaLite < 4.0.
2016-05-31 11:31:51 -04:00
Ketan Bhatt
f31fbbae1a
Fixed #26653 -- Made SyndicationFeed.latest_post_date() return time in UTC.
2016-05-30 18:36:15 -04:00
Simon Charette
4f474607de
Fixed #26646 -- Added IOBase methods required by TextIOWrapper to File.
...
Thanks Tim for the review.
2016-05-27 21:05:58 -04:00
Tim Graham
0e7e47b5d7
Fixed #26652 -- Documented removal of model instance _(default/base)_manager attributes.
2016-05-27 10:36:16 -04:00
Tim Graham
1915a7e5c5
Increased the default PBKDF2 iterations.
2016-05-20 09:19:19 -04:00
Tim Graham
97c3dfe12e
Added stub 1.11 release notes.
2016-05-19 22:28:24 -04:00
Tim Graham
0eac5535f7
Removed unused sections in 1.10 release notes.
2016-05-19 11:49:15 -04:00
Shai Berger
5112e65ef2
Fixed #20869 -- made CSRF tokens change every request by salt-encrypting them
...
Note that the cookie is not changed every request, just the token retrieved
by the `get_token()` method (used also by the `{% csrf_token %}` tag).
While at it, made token validation strict: Where, before, any length was
accepted and non-ASCII chars were ignored, we now treat anything other than
`[A-Za-z0-9]{64}` as invalid (except for 32-char tokens, which, for
backwards-compatibility, are accepted and replaced by 64-char ones).
Thanks Trac user patrys for reporting, github user adambrenecki
for initial patch, Tim Graham for help, and Curtis Maloney,
Collin Anderson, Florian Apolloner, Markus Holtermann & Jon Dufresne
for reviews.
2016-05-19 05:02:19 +03:00
Barthelemy Dagenais
a5c8072ab1
Fixed #26627 -- Fixed on_commit callbacks execution order when callbacks make transactions.
2016-05-18 09:09:48 -04:00
Josh Smeaton
2a4af0ea43
Fixed #25774 -- Refactor datetime expressions into public API
2016-05-18 20:14:58 +10:00
Tim Graham
ece4d24f8e
Refs #26601 -- Deprecated old-style middleware.
2016-05-17 07:22:26 -04:00
Florian Apolloner
9baf692a58
Fixed #26601 -- Improved middleware per DEP 0005.
...
Thanks Tim Graham for polishing the patch, updating the tests, and
writing documentation. Thanks Carl Meyer for shepherding the DEP.
2016-05-17 07:22:22 -04:00
Tim Graham
c999c8d8f6
Updated admin's jQuery to 2.2.3.
2016-05-17 07:20:06 -04:00
Loïc Bistuer
ed0ff913c6
Fixed #10506 , #13793 , #14891 , #25201 -- Introduced new APIs to specify models' default and base managers.
...
This deprecates use_for_related_fields.
Old API:
class CustomManager(models.Model):
use_for_related_fields = True
class Model(models.Model):
custom_manager = CustomManager()
New API:
class Model(models.Model):
custom_manager = CustomManager()
class Meta:
base_manager_name = 'custom_manager'
Refs #20932 , #25897 .
Thanks Carl Meyer for the guidance throughout this work.
Thanks Tim Graham for writing the docs.
2016-05-17 12:07:22 +07:00
Claude Paroz
526575c641
Fixed #21379 -- Created auth-specific username validators
...
Thanks Tim Graham for the review.
2016-05-16 19:37:57 +02:00
Aron Podrigal
85ef98dc6e
Fixed #24305 -- Allowed overriding fields on abstract models.
...
Fields inherited from abstract base classes may be overridden like
any other Python attribute. Inheriting from multiple models/classes
with the same attribute name will follow the MRO.
2016-05-16 07:32:21 -04:00
Simon Charette
f937c9ec97
Fixed #24100 -- Made the migration signals dispatch its plan and apps.
...
Thanks Markus for your contribution and Tim for your review.
2016-05-15 19:51:15 -04:00
Matthew Somerville
1962a96a30
Fixed #24938 -- Added PostgreSQL trigram support.
2016-05-13 12:38:21 -04:00
Andre Cruz
929684d6ee
Fixed #21231 -- Enforced a max size for GET/POST values read into memory.
...
Thanks Tom Christie for review.
2016-05-12 10:17:52 -04:00