Commit Graph

2706 Commits

Author SHA1 Message Date
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
Russell Keith-Magee 99c529eec8 [1.1.X] [1.2.X] Fixed #15253 -- Added 1.1.3 release notes, and added sections to the 1.2.4 and 1.3 release notes about the December security announcement.
Backport of r15485 from trunk.

Backport of r15486 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@15487 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-10 11:57:46 +00:00
Russell Keith-Magee b7a7cdc4fa [1.1.X] Fixed #15253, #15259 -- Added 1.1.4 release notes, added a section on CSRF changes to the 1.3 release notes, and corrected the example in the 1.2.5 release notes. Thanks to Gary Wilson and Mark Hellewell for the reports.
Backport of r15482 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@15484 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-10 09:30:51 +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
Russell Keith-Magee 934dc9e712 [1.1.X] Removed the 'under development' marker from the 1.1.2 release notes; a little too late, but better than never.
Backport of r13263 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13264 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-14 11:43:55 +00:00
Russell Keith-Magee f0774927e6 [1.1.X] Fixed #13532 -- Corrected and clarified examples in F() docs. Thanks to erw for the report and patch.
Backport of r13254 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13255 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-14 01:52:28 +00:00
Karen Tracey 2f8bb4ee31 [1.1.X] Fixed #13530: Corrected a handful of doc typos. Thanks Ramiro.
Merge of the applicable bits of r13247.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13248 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-12 23:00:57 +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 08de7a32d9 [1.1.X] Fixed #11908 -- Clarified the role and usage of the ManagementForm in formsets. Thanks to timo for the draft patch.
Backport of r13222 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13227 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-10 14:17:16 +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 45f5e0c980 [1.1.X] Fixed #12135 -- Clarified custom template tag example. Thanks to EvilDMP for the report, and timo for the patch.
Backport of r13220 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13225 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-10 14:14:41 +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 9ca0a33029 [1.1.X] Fixed #12505 -- Clarified the use of the extra argument in formsets. Thanks to Andreas for the report, and timo for the draft patch.
Backport of r13218 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13223 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-10 14:12:25 +00:00
Russell Keith-Magee c51284f65a [1.1.X] Fixed #12621 -- Corrected grammar error in custom template tag docs. Thanks to beemzet for the report.
Backport of r13212 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13217 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-10 13:28:57 +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 0765d4b597 [1.1.X] Fixed #13158 -- Clarified that OneToOneField is a better option for User profile classes. Thanks to hvdklauw for the report and patch.
Backport of r13197 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13200 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-10 11:44:25 +00:00
Russell Keith-Magee 45c409f3fd [1.1.X] Fixed #13329 -- Corrected markup problem with URL pattern in generic views docs. Thanks to LaundroMat for the report.
Backport of r13196 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13199 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-10 11:43:34 +00:00
Russell Keith-Magee b66d597cb4 [1.1.X] Fixed #13333 -- Corrected typo in whatsnew docs. Thanks to cicatrix1 for the report.
Backport of r13195 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13198 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-10 11:42:41 +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 3b9a82714c [1.1.X] Fixed #12278 -- Corrected an example usage of string_concat. Thanks to loumz for the report, and timo for the patch.
Backport of r13167 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13173 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09 06:49:00 +00:00
Russell Keith-Magee 5be6c7fc60 [1.1.X] Fixed #12412 -- Clarified the documentation around file handling by the test client. Thanks to Gabriel Hurley for the draft patch.
Backport of r13166 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13172 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09 06:48: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 3981355c5c [1.1.X] Fixed #13051 -- Corrected the documentation of URL namespacing to match the tested implementation behavior. Thanks to apollo13 for the report, and Gabriel Hurley for the patch.
Backport of r13161 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13164 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09 05:51:57 +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 e3389f9a20 [1.1.X] Fixed #13417 -- Clarified the use of the djangojs domain for translation. Thanks to stephaner for the report and initial patch, and Ramiro Morales for his additional markup.
Backport of r13147 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13152 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09 04:34: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 947c8ce3b4 [1.1.X] Fixed #13499 -- Corrected typo in l10n docs. Thanks to selwin for the report and patch.
Backport of r13143 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13149 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09 04:31:49 +00:00
Luke Plant d5ed030228 [1.1.X] Added hyperlinks for builtin template tags and filters to code samples in docs.
Implemented in javascript because doing it 'properly' is pretty much impossible with Sphinx and Pygments.
  
Refs #12249

Backport of [13135] from trunk


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13137 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-08 20:31:59 +00:00
Russell Keith-Magee e8e87e09b9 [1.1.X] Fixed #13484 -- Added some newly available targets to the documentation makefile. Thanks to Alex for the patch.
Backport of r13126 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13136 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-08 15:22:52 +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
Russell Keith-Magee e6167e54db [1.1.X] Fixed #13471 -- Added example of send_mass_mail usage. Thanks to gtaylor for the report and patch.
Backport of r13127 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13131 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-08 07:34:30 +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
Russell Keith-Magee d034374ea8 [1.1.X] Fixed #8357 -- Clarified what constitutes activity when calculating session expiry. Thanks to timo for the patch.
Backport of r13113 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13114 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-06 01:36:42 +00:00
Russell Keith-Magee 760ed9987a [1.1.X] Fixed #12609 -- Updated FAQ on which version users should install. Thanks to shanx for the report.
Backport of r13109 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13112 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-06 01:26:39 +00:00
Russell Keith-Magee 1d7c4a96ab [1.1.X] Fixed #13420 -- Clarified grammar in the email docs. Thanks to Dominic Rodger for the report.
Backport of r13104 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13111 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-06 01:26:13 +00:00