Commit Graph

15316 Commits

Author SHA1 Message Date
Florian Apolloner 12d364a9b0 [1.6.x] Fixed #20933 -- Allowed loaddata to load fixtures from relative paths.
Backport of 6e846f7627 from master.
2013-08-20 21:28:14 +02:00
Anssi Kääriäinen b189169ed0 [1.6.x] Fixed invalid testing fixture
Backport of 86f4459f9e from master
2013-08-20 17:49:00 +03:00
Anssi Kääriäinen 2b1101a4a6 [1.6.x] Fixed #20820 -- Model inheritance + m2m fixture loading regression
Tests by Tim Graham, report from jeroen.pulles@redslider.net.

Backport of 1ed77e7782 from master
2013-08-20 17:15:52 +03:00
Simon Charette 3ae585b449 [1.6.x] Fixed a test failure introduced in f0bc2865ff.
`classobj` objects cannot be weakly referenced on Python 2.6
2013-08-20 04:08:41 -04:00
Simon Charette f0bc2865ff Fixed #20943 -- Weakly reference senders when caching their associated receivers
Backport of e55ca60903 from master.
2013-08-20 02:12:50 -04:00
Simon Charette e7a6eaf5fe [1.6.x] Correctly format missing Pillow/PIL exceptions messages. refs #19934
Backport of b9590a6935 from master.
2013-08-19 18:51:22 -04:00
Harm Geerts a6ac4f90d0 [1.6.x] Fixed #20829 -- Skip postgis metadata tables with introspection
Backport of 24088618 from master.
2013-08-16 21:21:41 +02:00
Claude Paroz 1b48de06c3 [1.6.x] Updated translation templates 2013-08-16 15:13:31 +02:00
Tim Graham c769c26601 [1.6.x] Revert "Fixed #18491 -- deleting a proxy doesn't show warning about cascade deletes"
This reverts commit 2b48fcc607.

It introduced a regression (#20777) which we can't easily fix in 1.6.
2013-08-16 07:59:16 -04:00
Alasdair Nicol 919934602f [1.6.x] Fixed #20895 -- Made check management command warn if a BooleanField does not have a default value
Thanks to Collin Anderson for the suggestion and Tim Graham for
reviewing the patch.

Backport of 22c6497f99 from master
2013-08-15 20:33:02 -04:00
Tim Graham 7825fb8788 [1.6.x] Fixed #20891 -- Removed part of the tutorial that requires pytz
Thanks AtomicSpark for the report.

Backport of 55339a7669 from master
2013-08-15 15:31:57 -04:00
Tim Graham ccff25b143 [1.6.x] Fixed #17778 -- Prevented class attributes on context from resolving as template variables.
Thanks KyleMac for the report, regebro for the patch, and Aymeric for the test.

Backport of 71b5617c24 from master.
2013-08-15 10:22:56 -04:00
James Bennett d2419bb2b8 [1.6.x] Added release date to 1.5 release notes.
Forwardport of 61283a8208 from 1.5.x
2013-08-15 07:41:53 -04:00
Alasdair Nicol 52741004f6 [1.6.x] Updated docs following deprecation of django.views.defaults.shortcut
Follows 3f2befc

Backport of 354009d67e from master
2013-08-15 07:07:15 -04:00
Tim Graham 8bd5251fd5 [1.6.x] Added some doc links for django.contrib.messages
Backport of b6178fa24b from master
2013-08-14 12:58:19 -04:00
Florian Apolloner b720ece065 [1.6.x] Removed unneeded conditional_escapes from the testsuite.
Backport of 4e50e40654 from master.
2013-08-13 22:24:14 +02:00
Loic Bistuer 39db994790 [1.6.x] Fixed overflow for the "Recent Actions" widget on the admin index.
Previously the CSS targeted "li.changelink" and therefore didn't
work for the "add" and "delete" actions.

Refs #14868.

Backport of 33fc083b0d from master
2013-08-13 13:26:37 -04:00
Tim Graham 529afa7138 Added 1.4.6/1.5.2 release notes. 2013-08-13 11:17:07 -05:00
Jacob Kaplan-Moss 57dc238d0e Bumped version numbers for 1.6b2. 2013-08-13 11:12:07 -05:00
Jacob Kaplan-Moss bfbae15c66 Apply autoescaping to AdminURLFieldWidget.
This is a security fix; disclosure to follow shortly.
2013-08-13 11:06:00 -05:00
Jacob Kaplan-Moss 79594b40c0 Fixed is_safe_url() to reject URLs that use a scheme other than HTTP/S.
This is a security fix; disclosure to follow shortly.
2013-08-13 11:05:41 -05:00
Tim Graham 4f470f5186 [1.6.x] Added missing release notes for older versions of Django
Backport of 3f6cc33cff from master
2013-08-12 14:07:58 -04:00
Tim Graham 43f12f368b [1.6.x] Fixed #20890 -- Added missing import in class-based view docs.
Thanks André Augusto.

Backport of ab680725bf from master
2013-08-10 18:08:27 -04:00
Tim Graham 2cd1439c06 [1.6.x] Fixed #20868 -- Added an email to django-announce as a security step.
Thanks garrison for the report.

Backport of 5737c57d95 from master
2013-08-09 16:02:54 -04:00
Tim Graham 7c5d43eea0 [1.6.x] Added an anchor for django.forms.Form.clean in docs
Backport of 8442268869 from master
2013-08-08 14:14:14 -04:00
Jaime Irurzun 7836bd502c [1.6.x] Clarifed meaning of models.User.is_authenticated()
Backport of f96fe3cd1e from master
2013-08-08 10:27:34 -04:00
Daniele Procida 9cc7407f2c [1.6.x] Added more on @cached_property, refs #20870
Backport of 7e6af9d40c from master
2013-08-08 09:47:24 -04:00
Daniele Procida 25ce1e0e0a [1.6.x] Fixed #20870 -- Documented django.utils.functional.cached_property
Backport of 7a2296eb5b from master
2013-08-08 05:36:52 -04:00
Christopher Medrela 6264e39c34 [1.6.x] Added note to GenericIPAddressField documentation
refs #20484

Backport of fb26c4996a from master
2013-08-08 05:17:54 -04:00
Collin Anderson e3e0cf8a0f [1.6.x] Fixed #20865 -- Fixed raw_id_fields to work with callable limit_choices_to.
Backport of d53e574676 from master
2013-08-06 13:44:31 -04:00
Leandro Regueiro 4c90081b5b [1.6.x] Added section labels in cache docs
Backport of 709cd2c4b7 from master
2013-08-06 11:56:31 -04:00
Alex Cucu 80b95a2b1f [1.6.x] Fixed #19918 -- Modified select_for_update to run on the write database.
Backport of 1c64a0f29e from master
2013-08-06 10:58:32 -04:00
Anssi Kääriäinen 363b81c59c [1.6.x] Fixed ordering related test failure
Also PEP8 + python_2_unicode_compatible cleanup done.

Backport of 263b873599 from master
2013-08-06 10:34:42 +03:00
Tim Heap 891cdf120a [1.6.x] Fixed #20850 -- Added MultiWidget.needs_multipart_form
Backport of 75c87e2d38 from master
2013-08-05 10:13:48 -04:00
Jimmy Song ea7bef318f [1.6.x] Fixed #20859 - Clarified Model.clean() example.
Backport of 94d7fed775 from master
2013-08-05 09:06:36 -04:00
Tim Graham 06f484dcf9 [1.6.x] Fixed #20862 -- Updated startproject MIDDLEWARE_CLASSES in docs.
Thanks Keryn Knight.

Backport of 26c4bd38ac from master
2013-08-05 08:16:56 -04:00
Julien Phalip 7cc91eae7c [1.6.x] Fixed a small formatting issue.
Backport 0b071ba7df of from master.
2013-08-04 17:33:00 -07:00
Julien Phalip 59bf42f79e [1.6.x] Added a note to the 1.6 release about the new `--keep-pot` option for `makemessages`.
Refs #17008.
Backport of 28d3b33c04 from master.
2013-08-04 17:20:22 -07:00
Tim Graham 7a5f799193 [1.6.x] Fixed #20860 -- Removed references to defunct chicagocrime.org
Backport of 1593a86494 from master
2013-08-04 14:46:41 -04:00
Daniele Procida 74205c4a3c [1.6.x] Fixed #20842 and #20845 - Added a note on order_by() and improved prefetch_related() docs.
Backport of e8183a8193 from master
2013-08-04 12:35:31 -04:00
Justin Michalicek 77293f9354 [1.6.x] Fixed #20855 -- Added documentation of current_app and extra_context params to django.contrib.auth views
refs #5298 and refs #8342

Backport of 61ecb5f48a from master
2013-08-04 08:05:36 -04:00
Tim Graham 90bdb42702 [1.6.x] Fixed backport error in previous commit; refs #15961 2013-08-04 07:30:30 -04:00
Loic Bistuer 9053c6da5f [1.6.x] Moved get_search_results from BaseModelAdmin to ModelAdmin.
Refs #15961.

Backport of 470a9bb22d from master.
2013-08-04 07:19:13 -04:00
Tim Graham 01a9604274 [1.6.x] Fixed #20858 -- Removed erroneous import in tutorial 2.
Thanks AtomicSpark.

Backport of b278f7478d from master
2013-08-04 05:59:24 -04:00
Aymeric Augustin 2eac989985 [1.6.x] Fixed #20822 -- Set content type of default error pages to 'text/html'.
Thanks Jimmy Song for the patch.

Backport of 7843775 from master.
2013-08-04 11:04:58 +02:00
Alasdair Nicol ccef8b2aa2 [1.6.x] Added missing request argument to example in URL dispatcher docs
Backport of a0c58113b9 from master
2013-08-03 19:36:15 -04:00
Tim Graham 97254154ab [1.6.x] Fixed #18923 -- Corrected usage of sensitive_post_parameters in contrib.auth
Thanks Collin Anderson for the report.

Backport of 425d076d0c from master
2013-08-02 14:46:51 -04:00
Petr Dlouhý 4e7745cc1c [1.6.x] Fixed LogEntry.get_admin_url() for non-existent models.
Regression introduced by [369b6fa]; refs #18169.

Backport of 1b47508ac8 from master
2013-08-02 12:51:46 -04:00
Loic Bistuer 4f8fb19994 [1.6.x] Fixed #18681 -- GenericInlineModelAdmin.get_formset() no longer bypasses get_fieldsets().
Refs 23e1b59 which already fixed this issue for ModelAdmin and InlineModelAdmin.

Backport of a0ed2f9260 from master
2013-08-02 10:45:58 -04:00
Harm Geerts b0bde21884 [1.6.x] Fixed #20838 -- Fixed Geodjango spatialrefsys test failure with postgis-2.0.3
Backport of fd0d486467 from master
2013-08-02 10:45:27 -04:00