Commit Graph

141 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
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 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 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 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 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 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 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
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
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 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
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
Justin Bronn c702e262ff [1.1.X] Fixed #12802 -- Specify the correct factory in the `InlineModelAdmin` docs. Thanks, rctay and unbracketed.
Backport of r12527 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12529 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-23 15:11:01 +00:00
Russell Keith-Magee 2777cd37a8 [1.1.X] Fixed #11973 -- Corrected some misleading documentation regarding the feed_copyright attribute on feeds.
Backport of a small part of r12338 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12339 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-28 13:51:00 +00:00
Karen Tracey a8e659c54f [1.1.X] Fixed bad indentation in contenttypes code example so that cut and paste from doc will work.
r12253 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12254 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-18 13:02:07 +00:00
Jannis Leidel b3ec5e68eb [1.1.X] Fixed #9819 - Added exemplary documentation for comments app. Thanks for the initial patch, Thejaswi Puthraya.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12245 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-17 22:12:24 +00:00
Luke Plant d4f9bff7ef [1.1.X] Fixed #12503 - form examples don't validate according to w3c
Thanks to skyl for the report.

Backport of r12086 from trunk


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12087 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-04 22:22:16 +00:00
Jannis Leidel 618e1b1587 [1.1.X] Fixed #8468 - Updated class names in docs of Polish local flavor.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12063 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-01 21:45:07 +00:00
Jannis Leidel 8e6803f733 Typo fix for localflavor documentation
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12062 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-01 21:44:48 +00:00
Gary Wilson Jr d8ea6831f9 [1.1.X] Fixed several broken and redirecting URLs in the documentation (fixes #12219, refs #12427).
Backport of r11994 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11995 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-26 06:44:02 +00:00
Gary Wilson Jr 498c31364c [1.1.X] Fixed #9465 -- Simplified API Reference documentation titles for easier lookup and made first-level heading styles consistent. Thanks, adamnelson.
Backport of r11990 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11991 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-26 03:47:47 +00:00
Gary Wilson Jr a94d7e761f [1.1.X] Form wizard documentation tweaks:
* Simplified Sphinx references to FormWizard class.
  * Wrapped long lines.
  * Added references to template loader functions.

Backport of r11986 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11987 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-25 21:08:02 +00:00
Brian Rosner a429943467 [1.1.X] Fixed #12115 -- Corrected typo in admin documentation. Thanks encinas.
Backport of [11686] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11687 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-30 08:49:56 +00:00
Luke Plant 97ee7a3baf [1.1.X] Fixed #10996 - documented login CSRF vulnerabilities in the CsrfMiddleware
1.1.X branch only fix - trunk is completely different now.



git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11662 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-27 00:38:28 +00:00
Luke Plant 1f0266bd18 [1.1.X] Fixed #9163 - CsrfMiddleware needs to reset ETag header
Thanks to carljm for report and patch.

Backport of r11650 from trunk


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11651 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-24 11:27:59 +00:00
Russell Keith-Magee a7dd69c079 [1.1.X] Fixed some ReST markup in admin installation docs.
Merge of r11580 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11584 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-16 12:19:44 +00:00
Russell Keith-Magee 5074a43241 [1.1.X] Fixed counting error in admin installation overview docs.
Merge of r11579 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11583 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-16 12:16:27 +00:00
Russell Keith-Magee 5312e7b40a [1.1.X] Fixed #9236 -- Added documentation on the dependencies of the admin.
Merge of r11543 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11565 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-13 06:32:31 +00:00
Russell Keith-Magee 1fde940414 [1.1.X] Fixed #11808 -- Corrected typo in admin docs. Thanks to kratorius for the patch.
Merge of r11534 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11556 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-13 06:30:50 +00:00
Russell Keith-Magee 0fc36e4f91 [1.1.X] Fixed #11831 -- Corrected typo in comments docs. Thanks to gsf for the patch.
Merge of r11533 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11555 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-13 06:30:36 +00:00
Karen Tracey b82ad10f9d Fixed #11508: Adding missing word to form wizard doc. Thanks thepointer and timo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11444 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-08-13 16:59:59 +00:00
Russell Keith-Magee 8d48eaa064 Fixed #10061 -- Added namespacing for named URLs - most importantly, for the admin site, where the absence of this facility was causing problems. Thanks to the many people who contributed to and helped review this patch.
This change is backwards incompatible for anyone that is using the named URLs
introduced in [9739]. Any usage of the old admin_XXX names need to be modified
to use the new namespaced format; in many cases this will be as simple as a
search & replace for "admin_" -> "admin:". See the docs for more details on
the new URL names, and the namespace resolution strategy.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11250 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-16 16:16:13 +00:00
Russell Keith-Magee 93d86479e3 Fixed #11480 -- Corrected markup error in admin docs. Thank to msgre for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11240 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-15 13:57:46 +00:00
Russell Keith-Magee 5727374d95 Fixed #11348 -- Trimmed the width of a screenshot image in the admin docs. Thanks to smcoll for the new image.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11238 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-15 13:55:50 +00:00
Russell Keith-Magee e992e57d3e Fixed #11416 -- Restored use of the never_cache decorator on admin views. Thanks to Ramiro Morales and Michael Newmann for their work on the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11229 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-13 13:46:31 +00:00
Russell Keith-Magee 6bf55a1abf Fixed #11450 -- Corrected markup problem in contenttype docs. Thanks to seveas for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11218 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-11 15:37:08 +00:00
Russell Keith-Magee 9515c008bb Fixed #11454 -- Corrected mismatched parenthesis in admin docs. Thanks to seveas for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11217 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-11 15:36:31 +00:00
Russell Keith-Magee b96e55e811 Fixed #11419 -- Corrected a minor typo in the admin docs. Thanks to jspeis for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11176 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-03 14:10:35 +00:00
Russell Keith-Magee 36954a04b7 Fixed #9669 -- Corrected an answer in the admin FAQ that is wrong in a post-newforms-admin world. Thanks to Alex for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11175 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-03 14:09:04 +00:00
Russell Keith-Magee 970be97530 Fixed #8861 -- Added note on the availability of ModelForm.instance. Thanks to Ramiro Morales for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11097 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-24 14:04:18 +00:00
Russell Keith-Magee 4acf7f43e7 Fixed #10415 -- Added documentation for features added in r7627 and r7630; extensibility points for the ModelAdmin and AdminSite. Thanks to Ramiro Morales for the draft text.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11095 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-24 14:02:22 +00:00
Russell Keith-Magee 97fb6cf2b3 Fixed #11141 -- Corrected a code example in the admin docs. Thanks to jodal for the report, and SmileyChris for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11049 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18 13:35:06 +00:00
Russell Keith-Magee 457a1f9a03 Fixed #11272 -- Made some clarifications to the overview and tutorial. Thanks to jjinux for the review notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11044 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18 13:32:12 +00:00
Karen Tracey 3465ac05a6 Fixed #11034: Corrected serialization example in admin actions doc. Thanks timo and kaikuehne.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10804 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17 17:13:33 +00:00