Luke Plant
8b5fc4ac00
[1.1.X] Removed example CSRF jQuery code from release notes, replacing with link to improved code in the CSRF docs
...
Backport of [15628] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@15630 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-22 11:31:54 +00:00
Luke Plant
840314bde4
[1.1.X] Fixed #15284 - improved example jQuery code for adding X-CSRF-Token
...
Using the ajaxSend event is better than beforeSend, because the beforeSend
callback can have only one value, which makes it painful if it is needed by
multiple bits of javascript.
Thanks to LukeMaurer for report and initial patch.
Backport of [15515] from trunk.
This is backported to 1.1.X because it really belongs with security patch [15466]
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@15518 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-12 23:49:18 +00:00
Alex Gaynor
408c5c873c
[1.1.X] Fixed a security issue in the CSRF component. Disclosure and new release forthcoming.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@15466 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-09 02:07:35 +00:00
Karen Tracey
87fd4583c1
[1.1.X] Fixed doc markup error that resulted in no anchor tag for the model admin queryset method.
...
r13245 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13246 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-12 13:36:05 +00:00
Russell Keith-Magee
242c7f3940
[1.1.X] Fixed #13529 -- Corrected ModelAdmin example. Thanks to stephane@actinetwork.com for the report.
...
Backport of r13242 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13243 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-12 13:27:14 +00:00
Russell Keith-Magee
6f2a84409e
[1.1.X] Fixed #12997 -- Corrected the module markup for QuerySet methods. Thanks to timo for the report.
...
Backport of r13235 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13236 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-11 14:18:01 +00:00
Russell Keith-Magee
a0ea98e7a0
[1.1.X] Fixed #12001 -- Modified the example of form validation to use the form's error class, rather than assuming ErrorList. Thanks to Suor for the report, and timo for the patch.
...
Backport of r13221 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13226 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-10 14:16:04 +00:00
Russell Keith-Magee
61beb4549d
[1.1.X] Refs #12288 -- Clarified that application names must be unique. Thanks to Piotr Czachur for the report.
...
Backport of r13219 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13224 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-10 14:13:39 +00:00
Russell Keith-Magee
b7b0ebb3ad
[1.1.X] Fixed #12678 -- Corrected a few references to Queryset into QuerySet. Thanks to ChrisMorgan for the report, and timo for the patch.
...
Backport of r13211 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13216 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-10 13:27:53 +00:00
Russell Keith-Magee
5627b26377
[1.1.X] Fixed #12984 -- Corrected typo in signals docs. Thanks to kcharvey for the report.
...
Backport of r13210 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13215 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-10 13:26:47 +00:00
Russell Keith-Magee
a858374828
[1.1.X] Fixed #13002 -- Corrected description of the default form base class in InlineModelAdmin classes. Thanks to stijn@typograaf.be for the report, and timo for the patch.
...
Backport of r13209 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13214 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-10 13:25:44 +00:00
Russell Keith-Magee
6bc070ba4c
[1.1.X] Fixed #12229 -- Added documentation of the FieldFile methods that are exposed by FileField and ImageField. Thanks to Gabriel Hurley for the draft patch.
...
Backport of r13202 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13203 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-10 12:34:52 +00:00
Russell Keith-Magee
f7215cec92
[1.1.X] Added exceptions reference page to the API reference index.
...
Backport of r13187 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13188 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-10 00:54:25 +00:00
Jannis Leidel
4a97875f6b
[1.1.X] Fixed #13317 - Clarified documentation about how the blocktrans and trans template tags work with regard to variables. Thanks for the initial patch, Ramiro Morales.
...
Backport from trunk, r13184.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13185 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09 13:57:03 +00:00
Russell Keith-Magee
9fb195fc67
[1.1.X] Fixed #6842 -- Added reference documentation on Django's exceptions. Thanks to timo for the patch.
...
Backport of r13180 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13182 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09 07:47:14 +00:00
Russell Keith-Magee
e10f546b21
[1.1.X] Fixed #6039 -- Modified Atom example to be standard compliant. Thanks to ion.morega@gmail.com for the report, and arien for the patch.
...
Backport of r13179 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13181 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09 07:46:50 +00:00
Russell Keith-Magee
c772e39d34
[1.1.X] Fixed #6752 -- Corrected the interaction of the safe template filter with other filters. Thanks to Rupe and Alex Gaynor for their work on the patch.
...
Backport of r13171 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13177 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09 06:51:07 +00:00
Russell Keith-Magee
2ee73c2f4e
[1.1.X] Fixed #10712 -- Added documentation for the queryset() method on ModelAdmin. Thanks to mrts for the report, and timo for the patch.
...
Backport of r13170 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13176 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09 06:50:39 +00:00
Russell Keith-Magee
5d751026b5
[1.1.X] Fixed #11933 -- Corrected the naming of the cached_db session backend. Thanks to mb0@mb0.org for the report and Gabriel Hurley for the patch.
...
Backport of r13169 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13175 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09 06:50:06 +00:00
Russell Keith-Magee
814268fb54
[1.1.X] Fixed #12040 -- Cleaned up the documentation describing how CurrentSiteManager works. Thanks to elpaso66 for the report, and Gabriel Hurley for the draft patch.
...
Backport of r13168 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13174 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09 06:49:32 +00:00
Russell Keith-Magee
6df4ffd4f4
[1.1.X] Fixed #12997 -- Added markup for methods in the queryset docs. Thanks to Ramiro Morales for the patch.
...
Backport of r13162 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13165 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09 05:52:38 +00:00
Russell Keith-Magee
d529963113
[1.1.X] Fixed #13282 -- Clarified documentation around week_day filtering in querysets. Thanks to wangchun, Ramiro Morales and timo.
...
Backport of r13155 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13159 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09 05:13:45 +00:00
Russell Keith-Magee
95693cc6dd
[1.1.X] Fixed #13310 -- Documented the RESTRUCTUREDTEXT_FORMAT_SETTINGS setting. Thanks to Wraithan for the patch.
...
Backport of r13154 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13158 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09 05:13:13 +00:00
Russell Keith-Magee
a1421336d7
[1.1.X] Fixed #13455 -- Clarified the interaction of values() and extra(). Thanks to Rupe for the report and draft text.
...
Backport of r13145 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13151 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09 04:33:29 +00:00
Russell Keith-Magee
0711e1051d
[1.1.X] Fixed #13497 -- Corrected various typos and markup problems in docs. Thanks to Ramiro Morales for the report and patch.
...
Backport of r13144 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13150 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09 04:32:40 +00:00
Russell Keith-Magee
176f1c1c45
[1.1.X] Fixed #13336 -- Corrected an incorrect example of cache header usage. Thanks to dnjuls for the report, and claudep for the patch.
...
Backport of r13129 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13132 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-08 07:34:53 +00:00
Luke Plant
027ba077ac
[1.1.X] Fixed typo and small formatting mistake in docs
...
Backport of [13118] from trunk
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13119 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-07 01:01:16 +00:00
Karen Tracey
5c5c25eba5
[1.1.X] Fixed #13099 - incorrect SQL for exclude() example
...
Thanks to istruble for the report.
r12936 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13080 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-03 17:45:14 +00:00
Karen Tracey
a67b35a0aa
[1.1.X] Fixed #11711 -- clarified that ValuesQuerySets are not lists per se.
...
It rarely hurts to think of the returned result from a values() or
values_list() call as a list, but it's really an iterable and sometimes
the difference matters.
r12743 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12953 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-12 13:28:46 +00:00
Karen Tracey
6dc0499fe7
[1.1.X] Fixed two small doc markup errors.
...
Partial merge of r12741 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12952 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-12 13:24:31 +00:00
Russell Keith-Magee
c01735dee7
[1.1.X] Fixed #11949 -- Added a hook to allow ModelAdmin customization of the delete selected template. Thanks to bendavis78 for the report and patch, and Ramiro Morales for his cleanup work.
...
Backport of r12916 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12917 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-05 12:08:45 +00:00
Gary Wilson Jr
434b5d5cf6
[1.1.X] Fixed #13103 -- A bit of re-organization to the custom template `ModelAdmin` options documentation section to remove some duplication and fix some confusing wording.
...
Backport of r12868 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12869 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-27 21:17:23 +00:00
Gary Wilson Jr
87e40f8daa
[1.1.X] Fixed #13202 -- Documented required libraries for markup template tags, based on patch from steveed.
...
Backport of r12860 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12861 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-27 00:10:44 +00:00
Russell Keith-Magee
21a1a21d0b
[1.1.X] Fixed #13177 -- Corrected usage of firstof in admin templates. Thanks to nomulous for the report and patch.
...
Backport of r12840 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12841 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-23 14:55:00 +00:00
Justin Bronn
6943950dfd
[1.1.X] Fixed `fieldlookup` docs cross-reference directive, and added it to the queryset reference. Refs #12930 .
...
Backport of r12808 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-20 05:04:54 +00:00
Gary Wilson Jr
58d72d4fee
[1.1.X] Fixed #10361 -- Added documentation for ComboField and MultiValueField form fields, patch from timo.
...
Backport of r12798 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12799 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-16 21:03:11 +00:00
Russell Keith-Magee
c64669a614
[1.1.X] Fixed #13114 -- Modified escapejs to produce output that is JSON compliant. Thanks to David Danier for the report.
...
Backport of r12780 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12781 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-15 08:06:47 +00:00
James Bennett
0b78ce8214
[1.1.X] Corrected a markup error in middleware docs. Backport of applicable bits of [12759] from trunk.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12760 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-11 09:43:08 +00:00
Karen Tracey
75b10c9c15
[1.1.X] Fixed #12024 : Changed admin code to avoid raising an exception when a field listed
...
in raw_id_fields has limit_choices_to specified as a Q object.
Tweaked a test to trigger the condition and verify the fix.
Finally, documented that limit_choices_to specified as a Q object has no effect
on the choices available for fields listed in raw_id_fields, and removed another
incorrect note that claimed limit_choices_to had no effect on inlines in the admin.
r12728 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12729 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-08 18:41:26 +00:00
Russell Keith-Magee
1adc88f4b4
[1.1.X] Fixed #12097 -- Cleaned up the documentation for ModelChoiceField and MultipleModelChoiceField. Thanks to JasonYosinski for the patch.
...
Backport of r12712 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12715 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-08 03:27:12 +00:00
James Bennett
1332b114cc
[1.1.X] Fixed #12601 : Documented the slug field in the forms module. Backport of [12673] from trunk.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12674 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-03 09:02:53 +00:00
James Bennett
36e7739d9d
[1.1.X] Fixed #12217 : Documented the fact that serving flatpages from the flatpage middleware does not apply view middleware methods. Backport of [12671] from trunk.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12672 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-03 08:52:51 +00:00
James Bennett
7adae30286
[1.1.X] Fixed #11889 : Documented the fact that context processors will overwrite pre-existing context variables of the same names. Backport of [12669] from trunk.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12670 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-03 08:44:22 +00:00
James Bennett
bca50d20d3
[1.1.X] Fixed #11883 : Documented how to set a custom template name on a flatpage. Backport of [12667] from trunk.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12668 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-03 08:36:42 +00:00
Karen Tracey
a6225393c2
[1.1.X] Fixed #12946 : Removed an invalid example of url tag usage from the docs.
...
r12652 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12653 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-02 04:06:21 +00:00
Jannis Leidel
f09eabfb90
[1.1.X] Fixed #12987 - Added a few versionadded directives to the docs. Thanks, Ramiro Morales.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12629 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-01 14:41:11 +00:00
Russell Keith-Magee
94054604e4
Corrected a versionchanged marker added in r12603.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12604 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-26 15:54:37 +00:00
Russell Keith-Magee
b6bd766d88
[1.1.X] Fixed #1480 -- Added the ability to use the system timezone. Thanks to Ramiro Morales for the patch.
...
Backport of r12602 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12603 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-26 15:38:50 +00:00
Russell Keith-Magee
c1edfcd9ae
[1.1.X] Fixed #11933 -- Added versionchanged marker for the cache_db session backend. Thanks to gabrielhurley for the report and patch.
...
Backport of r12569 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12571 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-24 14:52:21 +00:00
Russell Keith-Magee
f7b415869c
[1.1.X] Fixed #12538 -- Added a note that pickles aren't stable during version updates. Thanks to snow0x2d0 for the suggestion.
...
Backport of r12560 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12565 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-24 14:06:51 +00:00