Commit Graph

315 Commits

Author SHA1 Message Date
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
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 e771d15e2d [1.1.X] Fixed #12837 -- Clarified the naming strategy for m2m intermediate tables. Thanks to Ramiro Morales for the report and patch.
Backport of r12516 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12521 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-23 13:30:18 +00:00
Jannis Leidel 4261efdc67 [1.1.X] Fixed #12620 - Refer to better fieldname in defer docs. Thanks, dwillis.
Backport of r12462.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12479 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-22 00:43:10 +00:00
Jannis Leidel a23edb643b [1.1.X] Fixed #10260 - Refactored internationalization documentation. Thanks, Ramiro Morales.
Partial backport of r12440.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12449 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-16 12:50:47 +00:00
Ian Kelly ab75fd4786 [1.1.X] Fixed #4140: Documented the ORA-06552 error that can occur when a keyword is used as a field name in the Oracle notes. Backport of r12346 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12347 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-28 22:14:38 +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
Jannis Leidel 0c4f8b345f [1.1.X] Fixed #12496 - Added code examples to built-in filter documentation. Thanks, Arthur Koziel.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12243 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-17 22:11:43 +00:00
Luke Plant a0ccd50623 [1.1.X] Fixed #12622 - exists() mentioned in 1.1 docs
Thanks for the report kmike.



git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12231 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-16 13:34:19 +00:00
Luke Plant ad6368809c [1.1.X] Created a 'DB optimization' topic, with cross-refs to relevant sections.
Also fixed #10291, which was related, and cleaned up some inconsistent doc labels.

Backport of r12229 from trunk


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12230 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-16 03:26:02 +00:00
Russell Keith-Magee 4bbbf6cc12 [1.1.X] Updated the docs to suggest using ``*args, **kwargs`` when implementing model save methods. Thanks to Jeff Croft for the report.
Partial backport of r12118 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12119 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-08 00:21:45 +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 ed192ea56f [1.1.X] Fixed #11570 -- Changed output in examples to unicode strings, thanks adamnelson.
Backport of r11992 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11993 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-26 04:00:35 +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
Gary Wilson Jr f67cd98b3f [1.1.X] Added a few Sphinx directives to the form API and template API docs.
Backport of r11984 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11985 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-25 20:56:52 +00:00
Justin Bronn 281114d209 [1.1.X] Fixed #12234 -- Create additional indexes that use the appropriate operation class for PostgreSQL `varchar` and `text` columns when `db_index=True`.
Backport of r11912 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11913 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-19 08:24:20 +00:00
Russell Keith-Magee b24bb68649 [1.1.X] Cleaned up the release notes index page, and added some stub 1.1.2 and 1.2 release notes.
Backport of r11760 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11761 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-11-23 13:52:59 +00:00
Russell Keith-Magee 7f2f6bc863 [1.1.X] Fixed #12204 -- Corrected the use of :djadmin: links in the testing docs, plus updated a lot of old-style markup in the django-admin docs. Thanks to Art_S for the report.
Backport of r11734 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11735 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-11-12 13:59:35 +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 ebe5405282 Added a no-op {% csrf_token %} tag to 1.1.X, to ease transition of apps to 1.2
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11674 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-27 21:50:58 +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
Luke Plant c557ea6c12 [1.1.X] Fixed #9674 - documented app_label.
Thanks to andymckay for the report and jpaulett for the patch.

Backport for [11596] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11597 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-28 22:04:20 +00:00
James Bennett f8c97127bb [1.1.X] Fixed #11931: Removed mention of nonexistent get_sql() method for arguments to limit_choices_to. Since the correct reference involves undocumented ORM internals, this simply removes the reference entirely in favor of publicly-documented use of Q objects. Backport of [11591] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11592 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-23 23:41:35 +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