Commit Graph

18308 Commits

Author SHA1 Message Date
Shai Berger 588f66d182 [1.7.x] Fixed schema test for Oracle 11.2.0.1 which is used in Django Project's CI.
Refs #23073 Workaround.

Refs #22738 Repeats the mysql "offense". When the issue is solved, the
Oracle special case should be made to play with the solution (that is,
Oracle should be fixed the same way that mysql and the 3rd-party backneds
are).

Backport of 56252e7 from master
2014-08-22 05:34:20 +03:00
Andrew Godwin fbe4507623 [1.7.x] Update squashmigration docs to also mention circ dep errs (refs #23337) 2014-08-21 19:18:40 -07:00
Tim Graham f8aa2aa486 [1.7.x] Added dates to release notes.
Backport of b902be798e from master
2014-08-20 16:32:39 -04:00
James Bennett ad96254af9 [1.7.x] Bump version number for security release. 2014-08-20 15:25:35 -05:00
Markus Holtermann 2da20379c0 [1.7.x] Fixed #23322 -- Use resolved swappable model for dependency resolution during makemigrations
Backport of 144cff3f51 from master
2014-08-20 16:08:49 -04:00
Simon Charette 2b31342cdf [1.7.x] Prevented data leakage in contrib.admin via query string manipulation.
This is a security fix. Disclosure following shortly.
2014-08-20 14:42:48 -04:00
Preston Holmes 1a45d059c7 [1.7.x] Fixed #23066 -- Modified RemoteUserMiddleware to logout on REMOTE_USER change.
This is a security fix. Disclosure following shortly.
2014-08-20 14:42:48 -04: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
Florian Apolloner bf650a2ee7 [1.7.x] Prevented reverse() from generating URLs pointing to other hosts.
This is a security fix. Disclosure following shortly.
2014-08-20 14:42:48 -04:00
Tim Graham 1c00c38b4a [1.7.x] Added release note stubs for 1.5.9 and 1.4.14. 2014-08-20 14:42:48 -04:00
Tim Graham 2981485280 [1.7.x] Fixed flake8 warnings.
Backport of 6f59d29158 from master
2014-08-20 14:38:43 -04:00
Tim Graham 6981eced83 [1.7.x] Fixed migrations tests added in refs #23315.
Backport of d1299fce0e from master
2014-08-20 14:01:50 -04:00
Claude Paroz 49280a73ea [1.7.x] Fetched translations from Transifex 2014-08-20 10:05:47 +02:00
Claude Paroz c586fcd4ea [1.7.x] Added Chinese language aliases in tx client config
Transifex doesn't have zh_Hans/zh_Hant locales.
2014-08-20 09:23:18 +02: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
Andrew Godwin 824e02bf83 [1.7.x] Fixed #23315: Operational dependency fail with mixed create/add 2014-08-19 19:51:23 -07:00
Tim Graham 9dcb2cf4e6 [1.7.x] Added sphinx extension to ease generation of ticket links.
Backport of fca677fa43 from master
2014-08-19 17:45:59 -04:00
Tim Graham dc9751a6e7 [1.7.x] Fixed #17238 -- Added source code links to docs using sphinx.ext.viewcode.
Thanks santiagobasulto for the suggestion.

Backport of 9ed4a8c6b1 from master
2014-08-19 17:45:30 -04: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
Lee Sanghyuck 6e5e2b0e28 [1.7.x] Fixed #23316 -- Added datetime.time serialization in migrations.
Backport of 11d9cbe2f4 from master
2014-08-19 13:32:05 -04:00
Tim Graham 22a28dd8b0 [1.7.x] Fixed #21801 -- Documented SingleObjectMixin.get_context_data() requires the object attribute.
Backport of 03c1609c47 from master
2014-08-19 12:09:18 -04:00
Baptiste Mispelon 24d9aee188 [1.7.x] Fixed broken tests on Oracle after 5853c87a45.
Oracle doesn't have a `BEGIN` statement so the test would
fail.

Refs #23303

Backport of 54164b814c from master.
2014-08-19 18:00:39 +02:00
Tim Graham b3f6a0f5a1 [1.7.x] Fixed #23314 -- Tempered recommendation of storing profile data on custom user.
Thanks gavinwahl for the report.

Backport of 3569536491 from master
2014-08-19 07:26:04 -04:00
Tim Graham 89f33f427e [1.7.x] Fixed #17272 -- Documented that non-editable fields are skipped during model validation.
Thanks mitar for the report.

Backport of c587bd5a94 from master
2014-08-19 07:18:39 -04:00
Tim Graham 20e3a004ac [1.7.x] Fixed #23282 -- Corrected inheritance and reverse relations example.
Thanks knowledgepoint-devs for the report and claudep for review.

Backport of 7006187064 from master
2014-08-19 06:29:25 -04:00
Tim Graham c3c686b92d [1.7.x] Fixed #4991 -- Emphasized XSS ramifications of help_text not being escaped.
Backport of 5dbe2a9431 from master
2014-08-19 06:16:36 -04:00
Tim Graham d6c6181f9e [1.7.x] Fixed #5726 -- Documented that inspectdb doesn't detect defaults.
Backport of 15cafaa565 from master
2014-08-19 06:15:28 -04:00
Tim Graham 5f54752b9d [1.7.x] Fixed some doc errors that caused syntax highlighting to fail.
Backport of 27fdac97ae from master
2014-08-18 20:40:41 -04:00
Baptiste Mispelon 3a80189479 [1.7.x] Fixed #23303 -- Added BEGIN and COMMIT statements to the output of sqlmigrate.
Backport of 5853c87a45 from master.

Conflicts:
	django/core/management/commands/sqlmigrate.py
	tests/user_commands/tests.py
2014-08-18 19:36:34 +02:00
Ramiro Morales 126606c5b8 [1.7.x] Fixed #23298 -- Made makemessages actually ignore specified dirs on Windows.
This was detected by two failures in the i18n.test_extraction of our
test suite.

Refs #20422, refs #22336

Backport of b4dce7c37a from master
2014-08-18 13:00:12 -04:00
Tim Graham d818e02134 [1.7.x] Fixed #14638 -- Clarified model Field.to_python() docs.
Thanks Anubhav Joshi for the patch.

Backport of b6aa60f425 from master
2014-08-18 12:54:15 -04:00
Tim Graham ad2faaa491 [1.7.x] Fixed #23263 -- Added sqlmigrate to migration topic guide.
Backport of 7ed3d0bb61 from master
2014-08-18 09:16:18 -04:00
areski ee7289656c [1.7.x] Fixed syntax highlighting and indentation in docs/topics/logging.txt.
Backport of 90b64db39c from master
2014-08-15 15:17:48 -04:00
areski 28d9753324 [1.7.x] Fixed #23296 -- Fixed RunPython code sample in Migration Operations.
Backport of 7ca665c5f5 from master
2014-08-15 13:57:49 -04:00
Collin Anderson 41cf159c0a [1.7.x] Fixed #23294 -- Add related_name to existing migrations.
Thanks to Florian Apolloner for the review; refs #23288.

Backport of 1d79d08d9a from master
2014-08-15 13:51:32 -04:00
areski 3af1410949 [1.7.x] Fixed #23278 -- Documented django.db.backends.schema logger
Backport of ef90d395ab from master
2014-08-15 12:38:09 -04:00
Tim Graham 6011f24503 [1.7.x] Fixed typo in tests/migrations/test_operations.py
Backport of 0ad4672c0f from master
2014-08-15 11:02:18 -04:00
Tim Graham 23455aeee2 [1.7.x] Fixed typo in docs/howto/custom-model-fields.txt.
Backport of 99561eef26 from master
2014-08-15 07:30:36 -04:00
Claude Paroz 2cbafd814f [1.7.x] Complemented 1.6 release notes for 457c16d0d6
And accessorily added missing bits fixing #23293.
2014-08-15 10:14:20 +02:00
Andrew Godwin b5784048e0 [1.7.x] Fixed #23288: deconstruct() ignoring related_name 2014-08-14 19:47:34 -07:00
Zhaorong Ma 2b694919db [1.7.x] Fixed a grammar error in docs/ref/forms/api.txt.
Backport of bef5b9b7cd from master
2014-08-14 12:15:14 -04:00
Ramiro Morales d9559fe163 [1.7.x] Fixed #23291 -- Don't add Unicode varname/value to environment.
Windows doesn't like that and it causes 114 failures in the
admin_scripts tests with Python 2.x.

0bfb538661 from master.
2014-08-14 12:55:09 -03:00
Claude Paroz 63ccf64079 [1.7.x] Fixed #23265 -- Used system-specific encoding in runserver
Thanks SpaceFox for the report.
Backport of 055d95fce0 from master.
2014-08-14 12:09:22 +02:00
Tim Graham 46edcd621e [1.7.x] Corrected content_type parameter name in sitemap docs.
mimetype was deprecated in 1.5 per 11ec0253ab.

Backport of a7443c24a3 from master
2014-08-13 21:45:28 -04:00
Tim Graham d38007e86d [1.7.x] Removed doc reference to removed HttpResponse.mimetype.
Backport of da009ce32c from master
2014-08-13 21:43:07 -04: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
areski 05063c60da [1.7.x] Improved formatting of deconstruct() docs.
Backport of d441a9d006 from master
2014-08-13 12:41:39 -04:00
Claude Paroz 67870137b9 [1.7.x] Fixed #22686 -- Prevented makemessages crash with unicode filename
A more extensive fix has been reverted on the 1.7.x branch, so this
minimal fix replaces it.
2014-08-12 22:55:35 +02:00
Claude Paroz e705d8c4b4 [1.7.x] Revert "Applied unicode_literals to makemessages command"
This reverts commit cdfefbec7 as it caused a regression (#23271).
2014-08-12 22:25:42 +02:00
Andrew Godwin 72fdd62e93 [1.7.x] Fixed #23275: Unmanaged models kept by autodetector, ignored by ops 2014-08-12 12:51:11 -07:00