Claude Paroz
9ac713645b
[1.7.x] Fixed #23374 -- Renamed StaticLiveServerCase to StaticLiveServerTestCase
...
Refs #20739 . Thanks Raphaël Hertzog for the report and the initial
patch.
Backport of 3a44e2000
from master.
2014-08-28 08:46:54 +02:00
Tim Graham
3123f8452c
[1.7.x] Fixed #23157 -- Removed O(n) algorithm when uploading duplicate file names.
...
This is a security fix. Disclosure following shortly.
2014-08-20 14:42:48 -04:00
Claude Paroz
cba0182425
[1.7.x] Fixed typo in 1.7 release notes
...
Backport of 12cf10cacd
from master.
2014-08-20 08:59:24 +02:00
Claude Paroz
72ad014b6a
[1.7.x] Fixed #22996 -- Prevented crash with unencoded query string
...
Thanks Jorge Carleitao for the report and Aymeric Augustin, Tim Graham
for the reviews.
Backport of fa02120d36
from master.
2014-08-19 22:30:22 +02:00
Ola Sitarska
0f44d9f9b1
[1.7.x] Fixed #23283 -- Added default=False to BooleanField's in the docs.
...
Thanks Baptiste for the suggestion.
Backport of 6947885926
from master
2014-08-13 18:24:43 -04:00
Andrew Godwin
9cc5d99bde
[1.7.x] Fixed #23252 : Call out removed features in release notes.
...
Also added StrAndUnicode mixin note to deprecation plan as it was
missing.
2014-08-07 14:15:44 +10:00
Gabriel Muñumel
2077bbe3fe
[1.7.x] Fixed #23102 -- Documented that sql* commands now respect allow_migrate().
...
Backport of 0af593dbe5
from master
2014-07-28 10:06:06 -04:00
Andrew Godwin
2bacc9f3b7
[1.7.x] Mark initial_data as deprecated separately from syncdb. Refs #23077 .
...
Conflicts:
docs/internals/deprecation.txt
2014-07-25 09:11:01 -07:00
Tim Graham
663af270b5
[1.7.x] Added backwards incompatibility note for refs #22845 ; refs #23082 .
...
Thanks Kyle Owens for the report.
Backport of 8568e7cfa4
from master
2014-07-23 15:26:42 -04:00
Andrew Godwin
3e13c1d9b1
[1.7.x] Add south upgrade note to 1.7 release notes
2014-07-10 10:01:12 -07:00
Jorge C. Leitão
e548328851
[1.7.x] Fixed #22812 -- Refactored lookup API documentation.
...
Thanks Anssi and Tim for reviews.
Backport of 8780849da0
from master
2014-07-08 20:13:24 -04:00
Simon Charette
2f0cc4f5fb
[1.7.x] Fixed #22943 -- Correctly serialize compiled regexes.
...
Thanks to antialiasis at gmail dot com for the patch.
2014-07-05 16:38:34 -07:00
Loic Bistuer
b68c7a5abb
[1.7.x] Fixed #22915 -- Document backward incompatible changes in the ValidationError constructor.
...
This patch also fixes update_error_dict to better handle the use case described
in this ticket, previously the type of the provided container could be lost in
some conditions.
Thanks Russell Keith-Magee for the report and Tim Graham for review.
Backport of eb7df6b8d7
from master
2014-07-04 17:19:12 +07:00
Claude Paroz
f50a17785c
[1.7.x] Fixed #8033 -- Explained app registry error during translation setup
...
Thanks Tim Graham and Aymeric Augustin for the review.
Backport of 9618d68b34
from master.
2014-06-23 09:37:38 +02:00
Andrew Godwin
a067c61b94
[1.7.x] Fixed #22660 : Doc'd you can't have unmigrated apps depend on migrated
2014-06-15 11:47:57 -07:00
mlavin
d94de802d3
[1.7.x] Fixed #22477 -- Removed contrib middleware from the global settings defaults.
...
Also added a compatibility check for changed middleware defaults.
2014-06-13 12:40:42 -04:00
Tim Graham
e51662e7bc
[1.7.x] Fixed #22811 -- Allowed setting both the old and new TEST database settings.
...
An ImproperlyConfigured exception will be raised they mismatch.
Backport of 1c58cabad7
and a2cd0e12c9
from master
2014-06-12 13:28:16 -04:00
Florian Apolloner
1ff11304dc
[1.7.x] Fixed #22680 -- I/O operation on closed file.
...
This patch is two-fold; first it ensure that Django does close everything in
request.FILES at the end of the request and secondly the storage system should
no longer close any files during save, it's up to the caller to handle that --
or let Django close the files at the end of the request.
Backport of e2efc8965e
from master.
2014-06-11 09:03:11 +02:00
Tim Graham
417da8a782
[1.7.x] Doc edits for refs #22487 .
...
Backport of c17cd151d8
from master
2014-06-09 12:16:04 -04:00
Tim Graham
a11ed8dcfd
[1.7.x] Added missing deprecation note for fastcgi in 1.7 release notes; refs #20766 .
...
Backport of 67ce2e74e1
from master
2014-06-09 10:32:09 -04:00
Andrew Godwin
08218252d8
[1.7.x] Fixed #22487 : Optional rollback emulation for migrated apps
...
Conflicts:
django/db/backends/creation.py
django/test/runner.py
docs/ref/settings.txt
docs/topics/testing/advanced.txt
2014-06-08 19:33:52 -07:00
Tim Graham
35bdf87034
[1.7.x] Improved deprecation plan links in release notes.
...
Backport of 7ff326928a
from master
2014-05-29 18:58:55 -04:00
Marc Tamlyn
be733bf672
[1.7.x] Fixed #22510 -- Harden field removal to only None.
...
Refs #8620 .
If we allow any value to remove form fields then we get name clashes
with method names, media classes etc. There was a backwards
incompatibility introduced meaning ModelForm subclasses with declared
fields called media or clean would lose those fields.
Field removal is now only permitted by using the sentinel value None.
The docs have been slightly reworded to refer to removal of fields
rather than shadowing.
Thanks to gcbirzan for the report and initial patch, and several of the
core team for opinions.
Backport of 9fb0f5dddc
from master
2014-05-24 13:11:50 +01:00
Tim Graham
fb9edfa3e6
[1.7.x] Fixed spelling mistake and added a word to the word list.
...
Backport of 1165e9992e
from master
2014-05-13 09:17:32 -04:00
Ramiro Morales
8cf6c5c789
[1.7.x] Fixed a few release notes typos.
...
38036e16c8
from master.
2014-05-10 23:19:49 -03:00
Tim Graham
af06203cea
[1.7.x] Updated some docs for the delayed deprecation of legacy table creation; refs #22340 .
...
Backport of a2e3c96948
from master
2014-05-07 09:04:21 -04:00
Andrew Godwin
1ed876ee5b
[1.7.x] Improve docs around deconstruction/serialisation (refs #22337 )
2014-05-06 23:07:10 -07:00
Simon Charette
a6ecd5dbb3
[1.7.x] Fixed #19195 -- Allow explicit ordering by a relation `_id` field.
...
Thanks to chrisedgemon for the report and shaib, akaariai and
timgraham for the review.
Backport of 24ec9538b7
from master
2014-04-30 14:26:39 -04:00
Tim Graham
6d4df45e29
[1.7.x] Fixed #22442 -- Provided additional documentation regarding id fields clashing.
...
Thanks benjaoming for raising the issue and Loic for the examples.
Backport of 8ec388a69d
from master
2014-04-30 07:38:31 -04:00
Tim Graham
1d20693fa6
[1.7.x] Revert "Fixed #15179 -- middlewares not applied for test client login()"
...
This reverts commit 4fdd51b732
.
See the ticket for concerns with this implementation; it will be revisited.
Backport of aabceadd7d
from master
2014-04-28 18:49:24 -04:00
Tim Graham
b89bbb3c21
[1.7.x] Improved formatting and links of migration docs.
...
Backport of ab8d8e00c9
from master
2014-04-27 15:06:08 -04:00
Tim Graham
529ae6087c
[1.7.x] Fixed #22526 -- Added note about check() method to 1.7 release notes.
...
Thanks kevin-brown for the report.
Backport of 8905fcbda6
from master
2014-04-27 14:20:51 -04:00
Aymeric Augustin
3bb0f118ca
[1.7.x] Fixed #3214 -- Stopped parsing SQL with regex.
...
Avoided introducing a new regex-based SQL splitter in the migrations
framework, before we're bound by backwards compatibility.
Adapted this change to the legacy "initial SQL data" feature, even
though it's already deprecated, in order to facilitate the transition
to migrations.
sqlparse becomes mandatory for RunSQL on some databases (all but
PostgreSQL). There's no API to provide a single statement and tell
Django not to attempt splitting. Since we have a more robust splitting
implementation, that seems like a good tradeoff. It's easier to add a
new keyword argument later if necessary than to remove one.
Many people contributed to both tickets, thank you all, and especially
Claude for the review.
Refs #22401 .
Backport of 8b5b199
from master
2014-04-26 17:46:57 +02:00
Claude Paroz
e441cebce3
[1.7.x] Updated doc links to point to Python 3 documentation
...
Backport of 680a0f08b
from master.
2014-04-26 16:03:40 +02:00
Aymeric Augustin
788fce4c91
[1.7.x] Fixed a confusing heading in applications docs.
...
Refs #22422 .
Backport of 0315f01
from master
2014-04-25 17:40:33 +02:00
Víðir Valberg Guðmundsson
bde1bc6672
[1.7.x] Fixed #22422 -- Moved information about the application loading process to refs/applications.txt.
...
Backport of deb561bbe2
from master
2014-04-25 10:12:55 -04:00
Tim Graham
0086c9eb48
[1.7.x] Fixed #22417 -- Added additional documentation for refs #16969 .
...
Thanks Jon Foster for the report.
Backport of 1b3a3fc1e4
from master
2014-04-19 21:41:28 -04:00
Tim Graham
22cbaea9c7
[1.7.x] Fixed #22444 -- Marked initial SQL/fixture loading as deprecated.
...
Thanks Karen Tracey for the report.
Backport of a4acb80463
from master
2014-04-17 20:37:25 -04:00
Shai Berger
941f947bfd
[1.7.x] Documentation fixes for the select_for_update change.
...
Refs #22343 ; thanks Tim Graham for the fixes.
Backport of 59b1d30
from master
2014-04-10 03:43:05 +03:00
Shai Berger
3a9a4570ef
[1.7.x] Fixed #22343 -- Disallowed select_for_update in autocommit mode
...
The ticket was originally about two failing tests, which are
fixed by putting their queries in transactions.
Thanks Tim Graham for the report, Aymeric Augustin for the fix,
and Simon Charette, Tim Graham & Loïc Bistuer for review.
Backport of b990df1d63 from master
2014-04-10 01:44:30 +03:00
Tim Graham
5891fd3f89
[1.7.x] Fixed #21649 -- Added optional invalidation of sessions when user password changes.
...
Thanks Paul McMillan, Aymeric Augustin, and Erik Romijn for reviews.
Backport of fd23c06023
from master
2014-04-05 13:01:03 -04:00
Tim Graham
5f04240381
[1.7.x] Added Python 3.4 support notes.
...
Backport of 306deab2c7
from master
2014-03-27 08:12:58 -04:00
Simon Charette
78211b13a5
[1.7.x] Fixed #12030 -- Validate integer field range at the model level.
...
Thanks to @timgraham for the review.
Backport of 1506c71a95
from master
2014-03-25 14:31:54 -04:00
Claude Paroz
4b72532048
[1.7.x] Added release note about strip_tags improvement
...
Backport of 1c8dbb0cc
from master.
2014-03-22 12:35:56 +01:00
Thomas Schreiber
79989263a2
[1.7.x] Fixed typos in docs (django.contrib.site)
...
Backport of 907ac64641
from master.
2014-03-21 20:02:03 +01:00
Dejan Noveski
b74ec85c1d
[1.7.x] Fixed #22255 -- Added support for specifying re flags in RegexValidator
...
Backport of 4d0c5f6142
from master.
2014-03-21 11:18:26 +01:00
Aymeric Augustin
1be31c320c
Fixed #21875 -- Clarified that get_user_model() only works at run time.
...
Thanks Benjamin White for the report.
2014-03-10 21:11:23 +01:00
Daniel Pyrathon
819e09b848
Fixed #22210 -- Saving model instances to non-related fields.
...
Previously, saving a model instance to a non-related field (in
particular a FloatField) would silently convert the model to an Integer
(the pk) and save it. This is undesirable behaviour, and likely to cause
confusion so the validatio has been hardened.
Thanks to @PirosB3 for the patch and @jarshwah for the review.
2014-03-10 15:25:18 +00:00
Shai Berger
41afae4ce9
Reorganized the database test settings
...
Change database test settings from "TEST_"-prefixed entries in the
database settings dictionary to setting in a dictionary that is itself
an entry "TEST" in the database settings.
Refs #21775
Thanks Josh Smeaton for review.
2014-03-09 03:57:18 +02:00
Roger Hu
9b729ddd8f
Fixed #22185 -- Added settings.CSRF_COOKIE_AGE
...
Thanks Paul McMillan for the review.
2014-03-06 08:28:43 -05:00