Tim Graham
81911f29b7
[1.8.x] Reverted "Fixed #24325 -- Documented change in ModelForm.save() foreign key access."
...
This reverts commit 0af3822dc3
.
It's obsoleted by refs #24395 .
Backport of d298b1ba50
from master
2015-02-24 11:51:10 -05:00
Kenneth Kam
a752a2c951
[1.8.x] Fixed #23762 -- clarified CACHE_MIDDLEWARE_ANONYMOUS_ONLY deprecation in docs
...
Backport of e83aba0e2c
from master
2015-02-23 09:23:49 -05:00
Emin Mastizada
ff2e0896a3
[1.8.x] Added formats for the Azerbaijani locale.
...
Backport of dda2a3cf4c
from master
2015-02-23 07:37:42 -05:00
Michael Manfre
ed941ef2d0
Fixed signature of BaseDatabaseOperations.date_interval_sql()
...
Backport of 7fa7dd48c4
from master
2015-02-23 00:04:57 -05:00
Sean Wang
f0780df608
[1.8.x] Fixed #24358 -- Corrected code-block directives for console sessions.
...
Backport of eba6dff581
from master
2015-02-22 09:36:51 -05:00
Loic Bistuer
3a6c37fce4
[1.8.x] Fixed #24351 , #24346 -- Changed the signature of allow_migrate().
...
The new signature enables better support for routing RunPython and
RunSQL operations, especially w.r.t. reusable and third-party apps.
This commit also takes advantage of the deprecation cycle for the old
signature to remove the backward incompatibility introduced in #22583 ;
RunPython and RunSQL won't call allow_migrate() when when the router
has the old signature.
Thanks Aymeric Augustin and Tim Graham for helping shape up the patch.
Refs 22583.
Conflicts:
django/db/utils.py
Backport of bed504d70b
from master
2015-02-20 21:55:50 +07:00
Tim Graham
18dceab05b
[1.8.x] Fixed typo in path to is_safe_url()
...
Backport of dd0b487872
from master
2015-02-20 09:22:17 -05:00
Tim Graham
730fb593ad
[1.8.x] Fixed #24335 -- Bumped required psycopg2 version to 2.4.5 (2.5 for contrib.postgres).
...
Backport of 3adc5f1ee6
from master
2015-02-17 06:21:59 -05:00
Aymeric Augustin
e8950668ca
[1.8.x] Deprecated TEMPLATE_DEBUG setting.
...
Backport of 15b711b
from master.
2015-02-15 20:48:48 +01:00
Aymeric Augustin
87e9cad4a4
[1.8.x] Fixed #24318 -- Set the transaction isolation level with psycopg >= 2.4.2.
...
Backport of 76356d96
from master
2015-02-14 18:52:28 +01:00
Tim Graham
8657e7caaa
[1.8.x] Fixed #24325 -- Documented change in ModelForm.save() foreign key access.
...
Backport of 0af3822dc3
from master
2015-02-14 08:09:27 -05:00
Markus Holtermann
bd80fa6b0f
[1.8.x] Fixed #24184 -- Prevented automatic soft-apply of migrations
...
Previously Django only checked for the table name in CreateModel
operations in initial migrations and faked the migration automatically.
This led to various errors and unexpected behavior. The newly introduced
--fake-initial flag to the migrate command must be passed to get the
same behavior again. With this change Django will bail out in with a
"duplicate relation / table" error instead.
Thanks Carl Meyer and Tim Graham for the documentation update, report
and review.
Backport of f287bec583
from master
2015-02-13 15:21:10 +01:00
Tim Graham
4c948c7c9d
[1.8.x] Fixed #24332 -- Fixed contrib.sites create_default_site() when 'default' DATABASES is empty.
...
Backport of e8cf4f8abe
from master
2015-02-13 07:02:37 -05:00
Tim Graham
6476fa73d3
[1.8.x] Forwardported item in 1.7.5 release notes.
...
Backport of a93c5fb2bf
from master
2015-02-12 14:06:21 -05:00
Josh Smeaton
3518d51697
[1.8.x] Fixed #24200 -- Made introspection bypass statement cache
...
Backport of 1fbe8a2de3
from master
2015-02-10 23:42:16 +02:00
Markus Holtermann
edbf6de753
[1.8.x] Revert "Fixed #24075 -- Prevented running post_migrate signals when unapplying initial migrations of contenttypes and auth"
...
This reverts commit 737d24923a
.
Backport of 2832a9b028
from master
2015-02-07 20:35:20 +01:00
Anssi Kääriäinen
43b0131fb5
[1.8.x] Fixed #23617 -- Added get_pk_value_on_save()
...
The method is mainly intended for use with UUIDField. For UUIDField we
want to call the field's default even when primary key value is
explicitly set to None to match the behavior of AutoField.
Thanks to Marc Tamlyn and Tim Graham for review.
Backport of 8adc59038c
from master
2015-02-03 09:25:55 -05:00
Tim Graham
28bb0ad199
[1.8.x] Fixed #24208 -- Documented changes in private model relations.
...
Backport of 888054bff7
from master
2015-01-31 11:03:08 -05:00
Claude Paroz
c77dd64402
[1.8.x] Fixed #14483 -- Allowed using subqueries with GIS lookups
...
Backport of a0b5f15ea5
from master.
2015-01-30 20:29:05 +01:00
Tim Graham
df68751134
[1.8.x] Fixed #24164 -- Fixed Oracle GIS limited aggregation test failure.
...
Backport of 29c0073335
from master
2015-01-30 06:34:36 -05:00
Tim Graham
df7cca6dff
[1.8.x] Added stub 1.7.5 release notes.
...
Backport of ac6033d883
from master
2015-01-28 06:39:11 -05:00
Markus Holtermann
29fa0e3c66
[1.8.x] Corrected naming of method and attribute
...
Backport of 335df82a3f
from master
2015-01-27 19:48:46 +01:00
Tim Graham
617121cd4a
[1.8.x] Added 1.4.19 release notes.
...
Backport of 6f8418089c
from master
2015-01-27 11:48:27 -05:00
Markus Holtermann
645fe136c4
[1.8.x] Refs #24104 -- Added missing release notes
...
Forwardport of 3d4a826174
from stable/1.7.x
2015-01-27 16:05:27 +01:00
Claude Paroz
bc93568500
[1.8.x] Fixed warning leak in static.serve() test
...
Partial forward port of b1bf8d64fb
from 1.7.x. Refs #24193 .
2015-01-23 09:05:46 +01:00
Fabio C. Barrionuevo da Luz
e69eea73d9
[1.8.x] Fixed #24177 -- Added documentation about database view support in inspectdb
...
Backport of bd691f4586
from master
2015-01-20 01:09:08 +01:00
Markus Holtermann
e55cb91bd4
[1.8.x] Fixed #24163 -- Removed unique constraint after index on MySQL
...
Thanks Łukasz Harasimowicz for the report.
Backport of 5792e6a88c
from master
2015-01-19 16:55:25 +01:00
Tim Graham
0b3e3e21cf
[1.8.x] Added deprecation docs for legacy lookup support; refs #16187 .
...
Backport of 8e435a5640
from master
2015-01-19 10:45:50 -05:00
Tim Graham
dd0707c3ca
[1.8.x] Added missing items to deprecation timeline/1.7 release notes.
...
Backport of ecf109f215
from master
2015-01-18 21:24:09 -05:00
Tim Graham
f31ed5c934
[1.8.x] Clarified deprecation of forms.forms.get_declared_fields(); refs #19617 .
...
Backport of 89e9f81601
from master
2015-01-18 16:07:44 -05:00
Tim Graham
4af4ccfb30
[1.8.x] Clarified deprecation of test.utils.TestTemplateLoader.
...
Backport of 7468c948b6
from master
2015-01-18 14:20:15 -05:00
Tim Graham
390559a75c
[1.8.x] Clarified a contrib.sites deprecation and added to 1.7 release notes.
...
Backport of ba27f89587
from master
2015-01-18 13:44:53 -05:00
Jannis Leidel
a17724b791
Fixed the length of a headline in the 1.8 release notes.
...
This broke the website design in the sidebar because the line could not be wrapped.
2015-01-16 21:29:28 +01:00
Tim Graham
8e8daf7c9b
Removed empty sections in 1.8 minor features.
2015-01-16 14:41:05 -05:00
Claude Paroz
b4ac232907
Fixed #24099 -- Removed contenttype.name deprecated field
...
This finsishes the work started on #16803 .
Thanks Simon Charette, Tim Graham and Collin Anderson for the
reviews.
2015-01-16 20:21:34 +01:00
Claude Paroz
a79e6b6717
Fixed #24152 -- Deprecated GeoQuerySet aggregate methods
...
Thanks Josh Smeaton and Tim Graham for the reviews.
2015-01-16 19:53:02 +01:00
Tim Graham
28db4af80a
Fixed #24135 -- Made RenameModel rename many-to-many tables.
...
Thanks Simon and Markus for reviews.
2015-01-15 20:34:33 -05:00
Tim Graham
28308078f3
Fixed #22603 -- Reorganized classes in django.db.backends.
2015-01-14 14:16:20 -05:00
Markus Holtermann
737d24923a
Fixed #24075 -- Prevented running post_migrate signals when unapplying initial migrations of contenttypes and auth
...
Thanks Florian Apolloner for the report and Claude Paroz and Tim Graham for the review and help on the patch.
2015-01-14 19:59:39 +01:00
Tim Graham
ec7ef5afbb
Added stub release notes for 1.7.4.
2015-01-14 09:47:29 -05:00
Tim Graham
1913c1ac21
Added today's security issues to the archive.
2015-01-13 14:44:08 -05:00
Tim Graham
7ecd654497
Removed blank lines from docs/releases/security.txt
2015-01-13 14:37:30 -05:00
Tim Graham
cbbe6a6abb
Added dates to release notes.
2015-01-13 13:08:57 -05:00
Tim Graham
baf2542c4f
Fixed DoS possibility in ModelMultipleChoiceField.
...
This is a security fix. Disclosure following shortly.
Thanks Keryn Knight for the report and initial patch.
2015-01-13 13:03:06 -05:00
Tim Graham
a3bebfdc34
Ensured views.static.serve() doesn't use large memory on large files.
...
This issue was fixed in master by refs #24072 .
2015-01-13 13:03:06 -05:00
Tim Graham
69b5e66738
Fixed is_safe_url() to handle leading whitespace.
...
This is a security fix. Disclosure following shortly.
2015-01-13 13:03:06 -05:00
Carl Meyer
316b8d4974
Stripped headers containing underscores to prevent spoofing in WSGI environ.
...
This is a security fix. Disclosure following shortly.
Thanks to Jedediah Smith for the report.
2015-01-13 13:03:05 -05:00
Tim Graham
958aeda4b5
Added stub release notes for security releases.
2015-01-13 13:03:05 -05:00
Michał Modzelewski
65246de7b1
Fixed #24031 -- Added CASE expressions to the ORM.
2015-01-12 18:15:34 -05:00
Tim Graham
5d7217dce3
Fixed typo in docs/release/1.8.txt & added word for spelling check.
2015-01-12 17:53:32 -05:00