Commit Graph

627 Commits

Author SHA1 Message Date
Ramiro Morales cf96d88421 [1.2.X] Fixed #17846 -- Made a note about the micro-version in which a security fix for URLField was introduced in the 1.2.X branch more accurate.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@17677 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-10 17:45:26 +00:00
Russell Keith-Magee 7268f8af86 [1.2.X] Altered the behavior of URLField to avoid a potential DOS vector, and to avoid potential leakage of local filesystem data. A security announcement will be made shortly.
Backport of r16760 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@16766 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-09-10 01:28:50 +00:00
Russell Keith-Magee c613af4d64 [1.2.X] Added protection against spoofing of X_FORWARDED_HOST headers. A security announcement will be made shortly.
Backport of r16758 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@16764 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-09-10 01:28:31 +00:00
Luke Plant 285b464fb8 [1.2.X] Updated AJAX example code in CSRF docs to be consistent regarding what are safe HTTP methods
Backport of [16202] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@16204 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-09 23:56:04 +00:00
Luke Plant cfc1756ef5 [1.2.X] Fixed #15469 - CSRF token is inserted on GET requests
Thanks to goran for report.

Backport of [16191] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@16194 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-09 21:39:22 +00:00
Luke Plant 87fa64ca7c [1.2.X] Fixed #15869 - example AJAX code in CSRF docs fails sometimes for IE7 or absolute same origin URLs
Thanks to nick for the report.

Backport of [16183] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@16185 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-09 15:49:54 +00:00
Simon Meers c5b476e22a [1.2.X] Fixed typo in forms API documentation.
Backport of r15896 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15899 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-22 23:24:13 +00:00
Justin Bronn 9ccf1d087e [1.2.X] Fixed #14133 -- Updated Windows installation instructions for GeoDjango, now recommend the OSGeo4W installer for spatial libraries.
Backport of r15872 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15873 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-17 20:12:38 +00:00
Justin Bronn 64c83ac6fb [1.2.X] Use Sphinx `:download:` directives for spatial database template creation scripts instead of linking to geodjango.org.
Backport of r15854 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15855 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-16 16:52:53 +00:00
Gabriel Hurley e9857ed5b1 [1.2.X] Fixed #15592 -- corrected an missing backtick in the syndication docs. Thanks to bradley.ayers for the report and patch.
Backport of [15793] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15794 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-10 17:22:35 +00:00
Russell Keith-Magee 20cf3b82a1 [1.2.X] Fixed #3094 -- Updated docs to reflect actual behavior of XMLField. Thanks to PaulM for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15764 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-06 07:03:27 +00:00
Simon Meers 52739520c6 [1.2.X] Fixed #15547 -- incorrect link in generic views reference page. 1.2 only.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15756 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-04 20:05:57 +00:00
Gabriel Hurley a9a85d7cfa [1.2.X] Fixed #15504 -- Cleaned up contrib.syndication and contrib.utils.feedgenerator docs. Corrected numerous reST problems, removed duplicate method declarations, corrected method signatures, etc. Thanks to slinkp for the report.
Backport of [15739] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15740 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-03 22:22:03 +00:00
Gabriel Hurley de46b6687f [1.2.X] Added crossref targets for a couple of Django exceptions and cleaned up related reST markup.
Backport of [15733] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15734 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-03 19:32:55 +00:00
Ramiro Morales 8d3ee29847 [1.2.X] Reverted 'now' template tag documentation changes so it describes the real code implementation regarding (lack of) interaction with L10N machinery. Refs #15263. Thanks danielr for the report.
Backport of [15678] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15679 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-01 03:07:25 +00:00
Gabriel Hurley a5f71e1264 [1.2.X] Fixed #15365 -- Added a warning to the `contrib.markup` docs reminding users that the marked up output will not be escaped.
Backport of [15673] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15674 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-28 05:40:55 +00:00
Gabriel Hurley a90e297f58 [1.2.X] Fixed #15492 -- Documented the `invalid_date` and `invalid_time` error keys for !SplitDateTimeField. Thanks to lode for the report.
Backport of [15663] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15664 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-27 21:18:16 +00:00
Simon Meers f87936fa89 [1.2.X] Fixed #15375 -- clarified apparent contradiction in Form Wizard documentation. Thanks to codysomerville for the report.
Backport of r15633 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15634 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-23 09:44:40 +00:00
Luke Plant e89c471ebb [1.2.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.2.X@15629 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-22 11:30:10 +00:00
Luke Plant 31d0f2fa29 [1.2.X] Fixed #11058 - list_display_links doesn't allow callables not defined in the model
Thanks to dvine for the report and julien for the patch.

Backport of [15619] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15621 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-21 21:20:41 +00:00
Luke Plant 25c217bc17 [1.2.X] Fixed #14835 -- Corrected a lack of indentation in the reST markup for docs/ref/contrib/admin/index.txt and reflowed the text accordingly.
Thanks to cogat for the report.

Backport of [14830] from trunk - approximate, because other changes have
made it very hard to do exactly.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15620 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-21 21:04:25 +00:00
Ramiro Morales d65ca449ac [1.2.X] Expanded InlineModelAdmin documentation a bit. Partial backport of [14882].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15595 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-20 15:27:01 +00:00
Gabriel Hurley 95a6d5a2ef [1.2.X] Fixed #14820 -- Added more information to the generic relation docs regarding different choices for storing PK references for a GenericForeignKey. Thanks to mrmachine for the all the work on the patch.
Backport of [15545] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15546 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-16 00:21:27 +00:00
Timo Graham fe21117cc3 [1.2.X] Fixed "the the" typos.
Backport of r15536 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15537 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-14 23:25:46 +00:00
Ramiro Morales 7520dbd5a5 [1.2.X] Fixed a couple of documentation typos.
Backport of [15534] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15535 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-14 15:04:26 +00:00
Justin Bronn 4bcc5012b1 [1.2.X] Updated GeoDjango installation docs and spatial database template script for latest Ubuntu/Debian packages.
Backport of r15520 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15521 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-13 01:54:31 +00:00
Luke Plant cfaac48710 [1.2.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.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15517 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-12 23:39:39 +00:00
Alex Gaynor 818e70344e [1.2.X] Fixed a security issue in the CSRF componenent. Disclosure and new release forthcoming.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15465 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-09 02:07:05 +00:00
Timo Graham f6606da3e8 [1.2.X] Fixed #15208 - Document ModelAdmin.formfield_for_choice_field; thanks julien.
Backport of r15399 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15400 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-02 20:57:33 +00:00
Timo Graham 776bf6e5f7 [1.2.X] Fixed #15191 - typo in form validation docs; thanks berto for the report.
Backport of r15372 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15373 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-30 19:10:16 +00:00
Justin Bronn 86b0d5c1eb [1.2.X] Fixed example use of deprecated function in GeoDjango tutorial.
Backport of r15358 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15359 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-29 08:11:28 +00:00
Ramiro Morales 7d0d10ce20 [1.2.X] Fixed #14038 -- Added information to release notes and version changed|added markers to documentation additions for the new template loeaders API introduced in version 1.2. Thanks 3point2 for the report.
Backport of [15309] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15310 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-25 15:44:41 +00:00
Timo Graham ccd68f2d43 [1.2.X] Fixed #15141 - remove some deprecated storage engines from the MySQL notes; thanks mariuz for the suggestion.
Backport of r15282 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15283 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-22 16:21:25 +00:00
Timo Graham 52999afaf5 [1.2.X] Fixed #15045 - Typo auto_add_now -> auto_now_add; thanks dr_gone for the report.
Backport of r15171 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15172 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-11 00:30:24 +00:00
Timo Graham 12d5c09fdd [1.2.X] Fixed #15002 - Fix title casing to conform to style guidelines. thanks adamv.
Backport of r15135 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15136 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-03 13:30:12 +00:00
Ramiro Morales e501f50237 [1.2.X] Fixed #13307 -- Enhanced the generic inlines documentation by mentioning the concrete Generic{Tabular,Stacked}Inline classes that should be used. Thanks loki77 for the report.
Backport of [15124] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15125 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-31 23:06:07 +00:00
Timo Graham cd2cf87243 [1.2.X] Fixed #14842 - Indent the model Meta options. Thanks adamv.
Backport of r15110 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15111 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-29 20:34:40 +00:00
Timo Graham 6c51b80c04 [1.2.X] Fixed #13452 - Document that regroup can be used with any template lookup. Thanks shacker for the suggestion and draft patch.
Backport of r15108 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15109 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-29 20:21:28 +00:00
Timo Graham 863240e336 [1.2.X] Fixed #14712 - Add an example for the post_syncdb signal. Thanks Frank Wiles for the patch.
Backport of r15104 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15105 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-29 15:48:50 +00:00
Timo Graham 6510bb76c6 [1.2.X] Fixed #14959 - Add a link to localflavor in the model field docs. Thanks PaulM for the suggestion, elbarto for the patch.
Backport of r15096 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15097 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-29 13:47:58 +00:00
Ramiro Morales 9bb995c6e0 [1.2.X] Fixed #7726 -- Added validation of max_digits and decimal_places options to DecimalField model field. Thanks theevilgeek for the report and elbarto for the patch.
Backport of [15094] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15095 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-29 01:26:45 +00:00
Gabriel Hurley 116804fbb5 [1.2.X] Fixed a crossref formatting problem in the signals reference docs.
Backport of [15092] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15093 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-29 00:09:46 +00:00
Gabriel Hurley 8db865c8fb [1.2.X] Fixed #14403 -- Provided some extra resources on the difference between FloatField and DecimalField in the model field reference. Thanks to typeshige for the report and trebor74hr and dmedvinsky for the draft patch.
Backport of [15090] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15091 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-29 00:04:06 +00:00
Gabriel Hurley a3169e3e8e [1.2.X] Fixed #14905 -- Corrected some misleading linking and language in the FileField docs. Thanks to Keryn Knight for the report and draft patch.
Backport of [15088] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15089 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-28 23:25:28 +00:00
Gabriel Hurley d4e19c68e8 [1.2.X] Fixed #14912 -- Expanded documentation for the urlize template filter. Thanks to adamv for the draft patch.
Backport of [15086] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15087 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-28 22:54:32 +00:00
Timo Graham 4c37802679 [1.2.X] Fixed #11496 - note that DecimalField max/min_value should be type(decimal.Decimal); thanks adamv.
Backport of r15084 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15085 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-28 21:56:33 +00:00
Timo Graham 031eb9983e [1.2.X] Fixed #14708 - Document available keys for form field error messages; thanks adamv.
Backport of r15080 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15081 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-28 21:16:25 +00:00
Timo Graham 483cddf23e [1.2.X] Fixed #14320 - Add a note about lack of timezone support in MySQL. Thanks RauntyDave for the suggestion, adamv for the patch.
Backport of r15078 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15079 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-28 13:36:12 +00:00
Timo Graham b0ce5fce73 [1.2.X] Fixed #13837 - Add geodjango packages for Ubuntu 10.04; thanks muanis and zerok for the patch.
Backport of r15075 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15076 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-28 00:13:13 +00:00
Timo Graham c0335a30bc [1.2.X] Fixed #12642 - Add docs for has_[add|change|delete]_permission ModelAdmin methods. Thanks to MadeR for the report and for the wiki contributors from which I took language for this patch.
Backport of r15066 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15067 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-27 13:41:57 +00:00