Commit Graph

9529 Commits

Author SHA1 Message Date
Krzysztof Gogolewski 9f89ca41db [1.10.x] Fixed #24370 -- Recommended starting with a custom user model.
Backport of d02a03d574 from master
2016-11-23 14:43:57 -05:00
Daniel Musketa d0f417be1f [1.10.x] Fixed typo in docs/topics/signals.txt.
Backport of b5ef90192f from master
2016-11-23 06:55:22 -05:00
Henry Dang 047a62b3f7 [1.10.x] Fixed #27221 -- Doc'd how to escape a percent symbol in ugettext().
Backport of b1a9041535 from master
2016-11-22 13:58:30 -05:00
Daniel Musketa 0acb83b86e [1.10.x] Updated doc links to virtualenv website.
Backport of 66505b72c5 from master
2016-11-22 08:37:34 -05:00
Tim Graham 59ea6fd686 [1.10.x] Fixed #27511 -- Corrected Field.related_model docs about GenericRelation.
Backport of 55adfc0760 from master
2016-11-21 12:53:35 -05:00
François Freitag 89d16636be [1.10.x] Refs #23811 -- Corrected git bisect run example usage.
Backport of 0783aa7deb from master
2016-11-21 06:55:31 -05:00
Jonatas CD 02ac92888e [1.10.x] Fixed #27482 -- Doc'd an example of Case() in QuerySet.filter().
Backport of b28c6ca763 from master
2016-11-17 12:39:56 -05:00
Tim Graham fe8b55699a [1.10.x] Fixed #27494 -- Fixed typos in docs/topics/db/models.txt.
Backport of 3ce212a23c from master
2016-11-16 07:28:51 -05:00
Mitchel Humpherys 04d4350649 [1.10.x] Fixed incorrect word choice in docs/topics/migrations.txt.
Backport of ae660cde5a from master
2016-11-16 07:01:17 -05:00
Simon Charette b495d8e334 [1.10.x] Fixed #27407 -- Made Model.delete(keep_parents=True) preserve parent reverse relationships.
Thanks Tim for the review.

Backport of 31a56e30cf from master
2016-11-15 20:50:41 -05:00
akki d2fc204694 [1.10.x] Replaced "django" with "Django" in spelling_wordlist.
Backport of 74ed20b49a from master
2016-11-15 17:32:16 -05:00
Jonatas CD af0f01558b [1.10.x] Fixed #26985 -- Doc'd that ForeignKey.to_field reference must be unique.
Backport of 9da45ff352 from master
2016-11-15 11:21:58 -05:00
Simon Charette 65cdded2c9 [1.10.x] Refs #25284 -- Corrected an obsolete implicit __in lookup example.
Thanks IRC alias rpkilby for the report.

Backport of 9e4fd3301d from master
2016-11-15 08:25:16 -05:00
Jezeniel Zapanta 6a476bd229 [1.10.x] Fixed typo in docs/topics/db/multi-db.txt.
Backport of 48f45431eb from master
2016-11-11 12:41:35 -05:00
Ian Lee 25fe13d6b0 [1.10.x] Fixed typo in docs/ref/settings.txt.
Backport of 501c993010 from master
2016-11-11 07:02:08 -05:00
Joseph Kahn 7fd379719a [1.10.x] Fixed #27461 -- Fixed incorrect allow_migrate() arguments in makemigrations.
Backport of 373c6c409c from master
2016-11-09 10:27:33 -05:00
Tim Graham 3dc480fcd2 [1.10.x] Inlined a note in docs/ref/models/expressions.txt.
Backport of 0d6c7cae7c from master
2016-11-09 08:21:17 -05:00
Jop Reyntjes 89d960121d [1.10.x] Fixed #27414 -- Doc'd that F() expressions on relations return pk values.
Backport of f8fab6f902 from master
2016-11-09 07:13:24 -05:00
Mariusz Felisiak bc74bc1f35 [1.10.x] Fixed #27420 -- Quoted the Oracle test user password in queries.
Backport of c4b04e1598 from master
2016-11-08 16:34:32 -05:00
Krzysztof Żuraw 07db0e068f [1.10.x] Fixed #27133 -- Doc'd how to provide initial data with migrations.
Backport of eaa6ea2f37 from master
2016-11-06 12:52:09 +01:00
Krzysztof Gogolewski 70d9effa02 [1.10.x] Adjusted documentation of migration related commands.
Backport of d1dbaeaadb from master
2016-11-05 22:21:32 +01:00
Tim Graham 59bbacf88d [1.10.x] Updated "fork Django on GitHub" link.
Backport of b741fe397a from master
2016-11-04 05:48:54 +01:00
Pamela McA'Nulty 74e93b072a [1.10.x] Fixed typo in docs/topics/testing/tools.txt.
Backport of 2c4d15e319 from master
2016-11-04 05:13:10 +01:00
Tim Graham 2527d0aaaa [1.10.x] Fixed #27425 -- Removed obsolete "developers for hire" FAQ.
Backport of 58eca7c49c from master
2016-11-03 12:50:44 +01:00
Tim Graham b04594135f [1.10.x] Added CVE-2016-9013,14 to the security release archive.
Backport of b8ae2c16cf from master
2016-11-01 10:48:41 -04:00
Tim Graham 884e113838 [1.10.x] Fixed CVE-2016-9014 -- Validated Host header when DEBUG=True.
This is a security fix.
2016-11-01 09:36:44 -04:00
Marti Raudsepp 34e10720d8 [1.10.x] Fixed CVE-2016-9013 -- Generated a random database user password when running tests on Oracle.
This is a security fix.
2016-11-01 09:36:44 -04:00
Tim Graham 3f8fcfbf3c [1.10.x] Added stub release notes for 1.9.11/1.8.16. 2016-11-01 09:36:44 -04:00
Andrew Nester acacf54fa1 [1.10.x] Fixed #27363 -- Replaced unsafe redirect in SessionMiddleware with SuspiciousOperation.
Backport of 1ce04bcce0 from master
2016-11-01 07:18:06 -04:00
Henry Dang 157607cb6c [1.10.x] Fixed #27400 -- Documented {% static %} encoding change in 1.10.
Backport of 9c2e1ad6a5 from master
2016-10-31 16:11:07 -04:00
Timothy Allen 355917f7c4 [1.10.x] Updated docs/topics/db/queries.txt examples to use print() function.
Backport of 5595db9504 from master
2016-10-31 15:23:14 -04:00
Tim Graham 052578879d [1.10.x] Fixed #27410 -- Clarified when static files is enabled in STATIC_ROOT docs.
Backport of de91c172cf from master
2016-10-31 15:19:21 -04:00
Krzysztof Urbaniak a7dabe4216 [1.10.x] Fixed #27063 -- Prevented i18n_patterns() from using too much of the URL as the language.
Backport of a01d887a3a from master
2016-10-31 14:33:42 -04:00
medmunds 59001ca213 [1.10.x] Fixed #27382 -- Doc'd that ugettext_lazy() should be converted to text for non-Django code.
Backport of d3708aeb26 from master
2016-10-29 07:25:22 -04:00
Adam Chainz 3ea9e3baf9 [1.10.x] Documented that cache keys are strings rather than bytes.
Backport of 968f61b991 from master
2016-10-27 15:50:06 -04:00
mark-summerfield 261c6c0447 [1.10.x] Described PostgreSQL as more scalable than SQLite.
Backport of 4584bc3a1e from master
2016-10-27 09:14:37 -04:00
Tim Graham df66aee856 [1.10.x] Updated "running the tests" to use 'pip install -e'.
Backport of d84ffcc22b from master
2016-10-27 08:44:10 -04:00
Jon Dufresne dda9a5928a [1.10.x] Fixed #27299 -- Documented the Widget.use_required_attribute() method.
Thanks Tim Graham for the review and edits.

Backport of c74378b from master
2016-10-26 19:33:25 -07:00
Thomas Güttler 72d174bc4e [1.10.x] Clarified when the post_migrate signal is sent during migrate.
Backport of 7cdc2015e3 from master
2016-10-26 11:09:06 -04:00
David Barragán Merino 736f7e7ed7 [1.10.x] Fixed #27385 -- Fixed QuerySet.bulk_create() on PostgreSQL when the number of objects is a multiple plus one of batch_size.
Backport of b3bd3aa07c from master
2016-10-25 19:22:33 -04:00
Tim Graham 3ca9df26ba [1.10.x] Replaced Outputting PDF's "Further Resources" with a link to Django Packages.
Backport of a9d1d95284 from master
2016-10-25 11:59:52 -04:00
Marti Raudsepp ae91fc786c [1.10.x] Updated postgresql.org links to https and made them canonical.
Backport of 51fbe2a60d from master
2016-10-25 11:43:54 -04:00
Alvin Lindstam 3a416e4ba9 [1.10.x] Fixed #27374 -- Made JavaScriptCatalog respect the packages argument.
Backport of 6b5106b1ce from master
2016-10-24 10:26:16 -04:00
Zach Borboa 3f730457d8 [1.10.x] Fixed #27361 -- Used "from django import forms" in forms api docs.
Backport of 90c3b11e87 from master
2016-10-19 09:56:13 -04:00
Markus Holtermann 5677129b06 [1.10.x] Added myself to ops team.
Backport of 7eda99f03f from master
2016-10-18 18:02:06 -04:00
Markus Holtermann d3ca290778 [1.10.x] Fixed #27352 -- Doc'd social media fingerprinting consideration with login's redirect_authenticated_user.
Backport of b5fc192b99 from master
2016-10-18 11:40:45 -04:00
Riccardo Magliocchetti 64e4adbfef [1.10.x] Fixed ModelAdmin.get_max_num() example if obj is None.
Backport of a4e9e834e3 from master
2016-10-17 07:33:59 -04:00
Tim Graham 8f428c8296 [1.10.x] Updated security policy according to current practices.
Also added security release date notifications to django-announce.

Backport of af98a0a25e from master
2016-10-15 07:53:29 -04:00
David D Lowe 223393a9e3 [1.10.x] Fixed #27349 -- Doc'd the CSRF_FAILURE_VIEW setting in view topic guide.
Backport of 424187ec4b from master
2016-10-14 13:51:48 -04:00
Kevin Christopher Henry 4045870781 [1.10.x] Refs #19705 -- Documented decorator ordering with @condition().
Backport of 9eb49af821 from master
2016-10-14 07:38:22 -04:00
Tim Graham 91cc5fd4cc [1.10.x] Fixed #27200 -- Provided makemigration's allow_migrate() with model_name.
Backport of cd09524f27 from master
2016-10-13 11:42:56 -04:00
Tim Graham e781197d1c [1.10.x] Fixed #27342 -- Corrected QuerySet.update_or_create() example.
Backport of 51b83d9e51 from master
2016-10-13 11:03:09 -04:00
Nick Pope 43792137e0 [1.10.x] Fixed typo in docs/ref/checks.txt.
Backport of 81463ce0a1 from master
2016-10-11 10:33:07 -04:00
Tim Graham 87595c92f3 [1.10.x] Doc'd the need to provide initial for formset submissions.
Backport of 80f5a4d87a from master
2016-10-10 15:36:33 -04:00
Tim Graham 1c47c7e6f1 [1.10.x] Added template syntax highlighting in docs/topics/i18n/timezones.txt.
Backport of 19a140a1b3 from master
2016-10-08 08:08:18 -04:00
Tim Graham be535960b1 [1.10.x] Fixed #25475 -- Doc'd how to use a literal % in Func.template.
Backport of c60feb6999 from master
2016-10-07 10:25:07 -04:00
Markus Holtermann 08650ab741 [1.10.x] Updated security team roster.
Backport of f8deed7199 from master
2016-10-07 10:14:48 -04:00
Adam Chainz 27d352800c [1.10.x] Doc'd that model instances with pk=None don't compare equal.
Backport of 224fe22bf1 from master
2016-10-07 09:02:10 -04:00
Tim Graham c2853807bc [1.10.x] Fixed docs typos in lines ending with a dash.
Backport of e261337eea from master
2016-10-06 11:01:47 -04:00
Aymeric Augustin 86ebc4e524 [1.10.x] Documented AppRegistryNotReady.
Backport of 5d35181de4 from master
2016-10-06 10:22:40 -04:00
Jonatas CD fbf59a2967 [1.10.x] Refs #11078 -- Doc'd Meta inheritance in proxy models.
Backport of e8728f03f0 from master
2016-10-04 19:54:13 -04:00
Corey Farwell 26fd712128 [1.10.x] Documented render_to_string()'s `using` parameter.
Backport of 24da355686 from master
2016-10-04 18:59:41 -04:00
Tim Graham 7652f97a5c [1.10.x] Fixed #27292 -- Removed unnecessary password assignment in auth backend example.
Backport of e262f00231 from master
2016-10-04 14:03:41 -04:00
aruseni fbd4fa2ec6 [1.10.x] Fixed typos in docs/ref/contrib/admin/javascript.txt.
Backport of 9e26a8331d from master
2016-10-04 10:18:22 -04:00
aruseni 7979d87e8c [1.10.x] Fixed typo in docs/ref/contrib/admin/javascript.txt.
Backport of 12b9aa279f from master
2016-10-04 10:13:33 -04:00
Simon Charette b12228759c [1.10.x] Fixed #27279 -- Fixed a migration performance regression related to RenameModel operations.
Thanks Trac alias mtomiyoshi for the report, Marten Kenbeek for the initial
patch and Tim for the review.

Backport of 040bd7c938 from master
2016-10-04 08:46:13 -04:00
Reto Aebersold c473235bf6 [1.10.x] Fixed #27309 -- Added CallableBool.__hash__().
Backport of 3ab55c1a8a from master
2016-10-04 07:44:39 -04:00
Tim Graham 67fd51a54f [1.10.x] Fixed #27307 -- Added missing url names in sitemaps docs.
Backport of fe1aee6b98 from master
2016-10-03 16:05:42 -04:00
Tim Graham f4a79d3d0c [1.10.x] Added stub release notes for 1.10.3.
Backport of bae1160c3f from master
2016-10-01 16:13:18 -04:00
Claude Paroz 062b8ba37e [1.10.x] Fixed #27302 -- Fixed ModelAdmin.construct_change_message() changed field detection
Thanks Ramiro Morales for the report and Tim Graham for the review.
Backport of 67eee5e4fa from master.
2016-10-01 20:16:41 +02:00
Tim Graham 63d9ffe0d6 [1.10.x] Added release date for 1.10.2.
Backport of aa7dc2dc39 from master
2016-10-01 11:49:17 -04:00
Tim Graham bade924c03 [1.10.x] Confirmed support for PostGIS 2.3.
Backport of 79c91070e5 from master
2016-10-01 09:12:53 -04:00
Tim Graham f23c03ebc8 [1.10.x] Refs #27186 -- Fixed model form default fallback for CheckboxSelectMultiple.
Backport of 87c5e7efeb from master
2016-09-30 14:50:15 -04:00
Lewis Cowles fb9f396275 [1.10.x] Fixed #27294 -- Documented UserCreationForm's fields.
Backport of 1d25eb9688 from master
2016-09-30 14:02:26 -04:00
Tim Graham 36c83a0d1e [1.10.x] Updated links to the current version of PostGIS docs.
Backport of cc282fa731 from master
2016-09-30 09:40:39 -04:00
Tim Graham c37e170f7a [1.10.x] Updated links to the current version of MySQL docs.
Backport of 9819676676 from master
2016-09-30 09:15:49 -04:00
Laurent ec38aa818c [1.10.x] Fixed typos in docs/howto/deployment/checklist.txt.
Backport of bceade84a7 from master
2016-09-29 20:00:05 -04:00
Tim Graham 85c6a5a8c9 [1.10.x] Normalized spelling of "Web server/page" in docs.
Backport of eb4d4376fc from master
2016-09-29 19:52:53 -04:00
Frank Wiles ff7d5e3a0b [1.10.x] Fixed import typos in the docs.
Backport of a09c058918 from master
2016-09-29 12:07:56 -04:00
Christian Bundy 818d7ba421 [1.10.x] Fixed typo in docs/ref/contrib/gis/install/postgis.txt.
Backport of 9c522d2ed8 from master
2016-09-28 14:25:07 -04:00
Tim Graham 131098b9c7 [1.10.x] Fixed #27289 -- Corrected View.as_view() explanation.
Thanks Graham Wideman for the report.

Backport of f2ff1b2fab from master
2016-09-28 11:49:49 -04:00
Alasdair Nicol 63af78bbe0 [1.10.x] Fixed 27283 -- Fixed typo in 1.8 release notes.
Backport of 3203171832 from master
2016-09-28 06:51:11 -04:00
Austin Simmons 933ebfad06 [1.10.x] Fixed #27076 -- Documented contrib.admin.sites.AdminSite.register().
Backport of 0f6829a68a from master
2016-09-27 12:18:52 -04:00
Berker Peksag a9fefd26dc [1.10.x] Fixed #27053 -- Documented contrib.auth.get_user().
Backport of f7e91cac68 from master
2016-09-27 10:42:46 -04:00
Sergey Fursov bcdd13de93 [1.10.x] Fixed #27271 -- Fixed a crash in runserver logging.
Allowed ServerFormatter to handle simple string messages or messages with
formatting arguments. The formatter will set the server_time variable on
the log record if it's required by the format string but wasn't passed in
extra parameters.

Backport of 6709ea4ae9 from master
2016-09-27 09:48:08 -04:00
Tim Graham a1c2b2095f [1.10.x] Added CVE-2016-7401 to the security release archive.
Backport of 6fe846a8f0 from master
2016-09-26 18:22:14 -04:00
Tim Graham 550fa7b892 [1.10.x] Added a CVE role for Sphinx.
Backport of a46742e738 from master
2016-09-26 18:22:14 -04:00
Tim Graham 8fec24f7c3 [1.10.x] Fixed #27278 -- Fixed an anchor in docs/topics/forms/formsets.txt.
Backport of 8d233a2132 from master
2016-09-26 13:58:37 -04:00
Tim Graham 5731342dbc [1.10.x] Added release notes for 1.9.10 and 1.8.15 releases. 2016-09-26 12:57:18 -04:00
Jonatas CD 76155b85e2 [1.10.x] Fixed #27276 -- Doc'd how to reverse admin's login view.
Backport of 6d6d1b1001 from master
2016-09-26 10:38:53 -04:00
Tim Graham dec77af525 [1.10.x] Fixed #27270 -- Clarified a paragraph in docs/topics/forms/formsets.txt.
Thanks Kifsif for the suggestion.

Backport of 8110673aaf from master
2016-09-26 09:55:23 -04:00
Berker Peksag 69839e97b9 [1.10.x] Simplified has_perm() example in topics/auth/customizing.txt.
Backport of 0a6ed6b1d9 from master
2016-09-23 15:28:47 -04:00
Tim Graham 0b59ea3343 [1.10.x] Fixed #27186 -- Fixed model form default fallback for MultiWidget, FileInput, SplitDateTimeWidget, SelectDateWidget, and SplitArrayWidget.
Thanks Matt Westcott for the review.

Backport of 3507d4e773 from master
2016-09-22 13:07:23 -04:00
Alasdair Nicol 190cd0e49f [1.10.x] Fixed #27238 -- Disabled check_pattern_startswith_slash if settings.APPEND_SLASH=False.
Thanks strycore for the report and timgraham for suggesting the
solution.

Backport of 911d9f4ed1 from master
2016-09-19 21:01:09 -04:00
aruseni 9c3f864305 [1.10.x] Fixed a typo in docs/topics/auth/default.txt.
Backport of cdde2eac5b from master
2016-09-17 20:09:38 -04:00
zhuanyenan ddd77d5fd3 [1.10.x] Corrected docs for return type of Field.formfield().
Backport of 17677d510f from master
2016-09-17 14:28:08 -04:00
Tim Graham 740dde1afc [1.10.x] Fixed typo in docs/ref/settings.txt.
Backport of 43c471e81c from master
2016-09-15 19:53:26 -04:00
Michael Scott 416004c043 [1.10.x] Fixed #15143 -- Doc'd how to set the language for the test client.
Backport of 3c447b108a from master
2016-09-14 20:14:29 -04:00
Tim Graham 1701fd3d3c [1.10.x] Fixed #27212 -- Fixed typo in docs/howto/static-files/index.txt.
Backport of c2e94bd8df from master
2016-09-12 16:05:53 -04:00
Simon Charette 23cf7e50d1 [1.10.x] Fixed #27209 -- Fixed typo in docs/ref/models/database-functions.txt.
Thanks Valentin Ignatyev for the report.

Backport of 767ba00976 from master
2016-09-12 08:07:43 -04:00
Tim Graham 244c4c06f9 [1.10.x] Normalized spelling of ETag.
Backport of ef021412d5 from master
2016-09-09 11:00:58 -04:00
Nicola Jordan 1f3c66fe9f [1.10.x] Fixed #27143 -- Allowed combining SearchQuery with more than one & or | operators.
Backport of 978a00e39f from master
2016-09-07 15:28:59 -04:00
Ankur Gupta 9a03d30d94 [1.10.x] Fixed #27174 -- Explained where PollsConfig comes from in tutorial 2.
Backport of 40d5011471 from master
2016-09-07 14:16:33 -04:00
Markus Gerards baa1790b4d [1.10.x] Fixed #27180 -- Fixed a crash in MySQL checks where SELECT @@sql_mode doesn't return a result.
Backport of 2b64ff68cc from master
2016-09-07 11:19:25 -04:00
Tim Graham a41405175a [1.10.x] Added stub release notes for 1.10.2.
Backport of de7f9758ac from master
2016-09-07 11:19:16 -04:00
Chris Jerdonek d923733234 [1.10.x] Fixed #27172 -- Closed database cursor explicitly in two doc examples
Backport of ccf7adb064 from master.
2016-09-07 12:16:31 +02:00
Tim Graham fd183e1f81 [1.10.x] Doc'd how to remove old references in migration files.
Backport of 5bd967e1c5 from master
2016-09-02 10:03:03 -04:00
Jeff Willette 2216cb5303 [1.10.x] Fixed #27099 -- Documented list filter's has_output() method.
Backport of bd3dc670b5 from master
2016-09-02 09:42:52 -04:00
Shai Berger 57f7d8968d [1.10.x] Refs #25850, #27142, #27110 -- Documented migration history consistency checks.
Backport of c93ac9cf42 from master
2016-09-01 18:50:09 -04:00
Tim Graham 02c6122938 [1.10.x] Added release date for 1.10.1.
Backport of 894df3e327 from master
2016-09-01 16:25:23 -04:00
Tim Graham 3e913d2141 [1.10.x] Fixed #27142, #27110 -- Made makemigrations consistency checks respect database routers.
Partially reverted refs #27054 except for one of the tests as this
solution supersedes that one.

Thanks Shai Berger for the review.

Backport of 098c07a032 from master
2016-09-01 16:19:49 -04:00
Riccardo Magliocchetti 51e5ca4462 [1.10.x] Clarified URL regex check message with respect to include().
Backport of 7ed8b98f42 from master
2016-09-01 14:06:59 -04:00
Claude Paroz 0a81f540c9 [1.10.x] Refs #27162 -- Complemented docs related to CreateExtension
Thanks Tim Graham for the review.

Backport of 6b54504e66 from master
2016-09-01 14:06:22 -04:00
Tim Graham 2078b187f7 [1.10.x] Refs #27164 -- Fixed typo in docs/topics/db/multi-db.txt
Backport of 789f9c9b29 from master
2016-09-01 09:53:51 -04:00
Ed Morley e19490d4b1 [1.10.x] Made settings docs link to cache parameters more specific.
Backport of 1d54fb4483 from master
2016-08-31 12:31:51 -04:00
Olexander Yermakov 7c57f5cf8c [1.10.x] Fixed #27154 -- Allowed comparing CallableBool with bitwise or.
Thanks Tim for the review.

Backport of b7fb608142 from master
2016-08-31 08:28:47 -04:00
Mike Fiedler c6c1d940c1 [1.10.x] Fixed typo in docs/topics/testing/overview.txt
Backport of b961b51eaf from master
2016-08-31 07:35:09 -04:00
Tim Graham f79dce16bc [1.10.x] Fixed #27145 -- Updated Storage.save() docs for refs #18899.
Backport of 3f16e4df49 from master
2016-08-30 21:41:27 -04:00
Tim Graham 4541ff2e39 [1.10.x] Added Django 1.11, 2.0 to Python version support table.
Backport of 38cf9ef390 from master
2016-08-26 17:23:09 -04:00
Baptiste Mispelon 0cb1032982 [1.10.x] Fixed incorrect variable name in {% regroup %} docs.
Backport of 7968bb7fad from master
2016-08-26 16:25:39 -04:00
Tim Graham 325dd0befe [1.10.x] Fixed #27039 -- Fixed empty data fallback to model field default in model forms.
Backport of 4bc6b93994 from master
2016-08-24 19:37:04 -04:00
Berker Peksag c4ee93128f [1.10.x] Fixed #27111 -- Fixed KeyError if USERNAME_FIELD isn't in UserCreationForm.fields.
Backport of 3c18f8a3d2 from master
2016-08-24 13:23:50 -04:00
Tim Graham 6f006f40f7 [1.10.x] Fixed #27104 -- Corrected shell example in tutorial 5.
Backport of cf2cd4053f from master
2016-08-24 10:08:54 -04:00
Tim Graham c135adda8e [1.10.x] Fixed #27115 -- Corrected a screenshot in the tutorial.
Backport of b40d24960c from master
2016-08-24 09:00:06 -04:00
Simon Charette 0b454804db [1.10.x] Fixed #27100 -- Included already applied migration changes in the pre-migrate state.
Refs #24100.

Thanks Tim for the review.

Backport of d5c4ea5246 from master
2016-08-24 01:38:30 -04:00
Simon Charette 1c60765d63 [1.10.x] Fixed #27044 -- Included already applied migration changes in the post-migrate state when the execution plan is empty.
Refs #24100.

Thanks tkhyn for the report and Tim for the review.

Backport of d1757d8df4 from master
2016-08-24 01:37:53 -04:00
Tim Graham 46f604244a [1.10.x] Fixed #27089 -- Added database alias to InconsistentMigrationHistory message.
Backport of ad25fe7350 from master
2016-08-23 20:48:29 -04:00
Tim Graham 6be255a22a [1.10.x] Fixed #24650 -- Documented how to change an unmanaged model to managed.
Backport of 80c03b06ad from master
2016-08-23 17:35:55 -04:00
Collin Anderson 4073780219 [1.10.x] Fixed #26998 -- Reverted some admin checks from checking field.many_to_many back to isinstance(field, models.ManyToManyField).
This partially reverts 983c158da7

Backport of 384f89f8f8 from master
2016-08-23 16:06:41 -04:00
Helen Sherwood-Taylor ae0f55eb49 [1.10.x] Fixed #27018 -- Fixed admindocs crash with a view in a class.
Generated correct admindocs URLs on Python 3. URLs generate 404s on
Python 2, as in older versions of Django.

Backport of bc1e2d8e8e from master
2016-08-20 10:02:22 -04:00
Tim Graham 7c0c3fb6b1 [1.10.x] Fixed #27013 -- Clarified commands to install argon2/bcrypt packages.
Backport of 9f27735612 from master
2016-08-19 19:23:51 -04:00
Tim Graham f878b860d1 [1.10.x] Fixed #27085 -- Corrected a screenshot in the tutorial.
Backport of 44c306218f from master
2016-08-19 18:05:30 -04:00
Abhishek Bera a77d979cbd [1.10.x] Fixed #26987 -- Documented using QuerySet.get() without arguments.
Backport of f3b601f11a from master
2016-08-19 17:17:57 -04:00
Tim Graham 33783a9e06 [1.10.x] Fixed #26571 -- Corrected recommendation for converting timestamps to tz-aware datetimes.
Backport of d60386d0f5 from master
2016-08-19 14:47:38 -04:00
Vincent Zhang e5103de2d1 [1.10.x] Refs #26747 -- Corrected a method name in tutorial05.
Backport of 7b08e01c13 from master
2016-08-19 11:10:40 -04:00
Brightcells 557c1a6a42 [1.10.x] Replaced old DateTimeAwareJSONEncoder with DjangoJSONEncoder in docs.
Backport of d301c61bcb from master
2016-08-19 09:16:31 -04:00
Tim Graham a033b351b5 [1.10.x] Refs #25854 -- Completed a RequestContext docs example.
Backport of f8c338ec6a from master
2016-08-18 21:13:47 -04:00
Tim Graham 3342f24ff6 [1.10.x] Fixed #26807 -- Documented how to replicate SubfieldBase's assignment behavior.
Backport of 518eaf1fa2 from master
2016-08-18 21:09:02 -04:00
Loïc Bistuer 21f18e5372 [1.10.x] Fixed #27073 -- Removed duplicated managers in `Model._meta.managers`.
Backport of d4eefc7e2a from master
2016-08-19 01:27:43 +07:00
Timothy Allen 0cab98e084 [1.10.x] Corrected text from Python's Windows installer.
Backport of 8cd900c819 from master
2016-08-18 14:05:28 -04:00
Jim Nicholls 16f032e69f [1.10.x] Fixed #27054 -- Fixed makemigrations crash with a read-only database.
Backport of 76ab885118 from master
2016-08-18 08:45:41 -04:00
Chris Lamb c24a47b3e6 [1.10.x] Refs #26983 -- Added test for isnull lookup to CharField with primary_key=True.
Backport of 97513269d7 from master
2016-08-17 21:19:22 -04:00
Mattias Loverot 04f0c2ab39 [1.10.x] Fixed #27069 -- Doc'd which gettext functions may be aliased as _.
Backport of 35ea6d83c8 from master
2016-08-17 16:35:19 -04:00
Kevin Christopher Henry 3db01b2d58 [1.10.x] Fixed #26616 -- Clarified model usage in AppConfig.ready().
Backport of ff445f4c19 from master
2016-08-17 10:35:29 -04:00
Jon Dufresne f6af24fe40 [1.10.x] Fixed incorrect doc reference to Field.initial.
Backport of 4773ed2e31 from master
2016-08-17 10:27:46 -04:00
Tim Graham 8df2da3637 [1.10.x] Fixed #19222 -- Documented that default managers aren't used for related queries.
Backport of 8fb53c50ce from master
2016-08-16 13:13:10 -04:00
Tim Graham 020ba4bf91 [1.10.x] Fixed #27058 -- Reallowed the {% for %} tag to unpack any iterable.
Thanks Sergei Maertens for the report and patch.

Backport of 937d752d3d from master
2016-08-15 15:40:34 -04:00
Daniel Wiesmann 201198136d [1.10.x] Fixed #27014 -- Fixed annotations with database functions on PostGIS.
Thanks Sean Mc Allister for providing a test.

Backport of 89f17e7caf from master
2016-08-15 14:23:48 -04:00
Timothy Allen 7d11d61087 [1.10.x] Documented how allow_migrate() interacts with makemigrations.
Backport of df92f6f2e3 from master
2016-08-15 13:35:05 -04:00
Victor Oliveira da Silva dad8ec49c4 [1.10.x] Made cosmetic edits to Field.default docs.
Backport of d7804662f8 from master
2016-08-15 10:46:02 -04:00