Commit Graph

18196 Commits

Author SHA1 Message Date
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
Collin Anderson 8f9dd9f256 [1.7.x] Refs #23276: Removed bad examples of passing views as strings to url()
partial backport of a9fd740d22 from master
2014-08-12 14:44:09 -04:00
Ola Sitarska 49419ffd05 [1.7.x] Fixed #23016 -- Updated FAQs per Aymeric's suggestions.
Backport of 549284faa4 from master
2014-08-12 13:48:21 -04:00
Tim Graham 0e9d6ad54a [1.7.x] Fixed indentation typo in docs/ref/contrib/sitemaps.txt.
Backport of 2003cb23d4 from master
2014-08-12 12:27:41 -04:00
Tim Graham 9a51270dba [1.7.x] Added a warning that remove_tags() output shouldn't be considered safe.
Backport of 7efce77de2 from master
2014-08-11 07:09:34 -04:00
Ola Sitarska 927d7b8b71 [1.7.x] Fixed #23267 -- Fixed typo in Translation documentation
Thanks to Tomin1 for the report.

Backport of 2e7be92b4d from master.
2014-08-11 12:08:20 +02:00
Rajiv Makhijani 4ce5ced230 [1.7.x] Fixed #23259 -- Corrected insertion order of extra() select_params
A regression caused queries to produce incorrect results for cases where
extra(select) is excluded by values() but included by extra(order_by)

The regression was caused by 2f35c6f10f.

Backport of f0b358880a from master
2014-08-11 09:35:37 +03:00
Florian Apolloner 07c7925282 [1.7.x] Fixed remove_field for spatialite schema changes.
Backport of f915d39afe from master.
2014-08-10 16:24:56 +02:00
Florian Apolloner cdc42ac0d6 [1.7.x] Made sqlite's remove_field behave like the base backend.
Backport of 61d783f3d7 from master.
2014-08-10 13:32:16 +02:00
Andrew Godwin ee74f9fe3b [1.7.x] Fixed #23264: Schema backends honour db_constraint 2014-08-09 17:51:06 +10:00
Justin Hamade 98d6f128d0 [1.7.x] Fixed #22336 -- Added path matching for makemessages ignore option
This fixes a regression introduced by 9012a9e200.
Backport of 8fe406864c from master.
2014-08-08 22:55:45 +02:00
Tim Graham ab883a3477 [1.7.x] Removed some tabs in the docs.
Backport of 73ff4498aa from master
2014-08-08 13:59:29 -04:00
Andreas Stocker 288b557ac4 [1.7.x] Fixed #23257 -- Updated docs for new django-jython release.
Backport of f3ef55ea7a from master
2014-08-08 12:43:57 -04:00