Commit Graph

10170 Commits

Author SHA1 Message Date
Brian Rosner 2a1874521e [1.3.X] Added a note about the AJAX CSRF example not working on jQuery 1.5
Backport of [16543] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16544 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-14 19:40:30 +00:00
Ramiro Morales a925b3780e [1.3.X] Reverted [14563] because it introduced a dependency from core on a contrib app (contenttypes). Fixes #16283, Refs #3055. Thanks TheRoSS for the report and Aymeric Augustin for finding the problem.
This caused models shipped with some contrib apps to pollute the namespace when user's apps had the same name (e.g. auth, sites), even when these contrib apps weren't installed.

This undesired loading of contrib apps happened when model validation was executed, for example when running management commands that set or inherit `requires_model_validation=True`:
cleanup, dumpdata, flush, loaddata, reset, runfcgi, sql, sqlall, sqlclear, sqlcustom, sqlflush, sqlindexes, sqlinitialdata, sqlreset, sqlsequencereset, syncdb, createsuperusers, ping_google, collectstatic, findstatic.

This could also cause hard to diagnose problems e.g. when performing reverse URL resolving.

Backport of [16493] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16541 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-14 00:27:55 +00:00
Simon Meers 220ce42333 [1.3.X] Fixed #16000 -- reference natural keys in contenttypes documentation. Thanks jsdalton.
Backport of r16536 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16537 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-10 21:52:50 +00:00
Simon Meers c828cc1ba6 [1.3.X] Fixed #15715 -- added non-trivial decorator example to CBV docs. Thanks toofishes.
Backport of r16534 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16535 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-10 21:40:14 +00:00
Simon Meers 00886dfd2b [1.3.X] Fixed #16440 -- minor ungettext documentation issue, thanks Bradley Ayers.
Backport of r16532 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16533 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-10 21:33:42 +00:00
Jannis Leidel 5a0787f904 [1.3.X] Fixed #15974 -- Correctly link to static files handling in deployment docs. Thanks, RogueBean.
Backport from trunk (r16491).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16492 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-01 15:19:34 +00:00
Justin Bronn a441032e0e [1.3.X] Fixed #16232 -- Corrected typo in geographic admin reference. Thanks, Issac Kelly.
Backport of r16484 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16486 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-29 16:40:31 +00:00
Simon Meers d8ef686e24 [1.3.X] Fixed #16297 -- make_list documentation error regarding integers. Thanks ned and teraom.
Backport of r16468 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16469 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-26 21:29:13 +00:00
Timo Graham a0285bb612 [1.3.X] Fixed #16258 - typo in middleware docs.
Backport of r16441 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16442 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-19 19:40:50 +00:00
Jannis Leidel d90bd88d73 [1.3.X] Fixed #16292 -- Removed broken link for Swiss localflavor documentation. Thanks, BernhardEssl.
Backport from trunk (r16435).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16436 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-18 12:01:10 +00:00
Jannis Leidel 7880d99900 [1.3.X] Fixed #16031 -- Corrected comments template examples. Thanks, teraom.
Backport from trunk (r16412).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16421 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-16 16:42:54 +00:00
Jannis Leidel 25ee9b4913 [1.3.X] Fixed #16273 -- Fixed typo in staticfiles docs. Thanks, BernhardEssl.
Backport from trunk (r16407).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16409 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-16 15:28:12 +00:00
Jannis Leidel eb96665b7a [1.3.X] Added a few cross references to the i18n docs and documented pgettext and colleagues.
Backport from trunk (r16403).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16404 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-15 10:50:08 +00:00
Timo Graham 4f215cfcd7 Fixed #15764 - Corrected mixin docs for DeleteView; thanks linovia for the report.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16380 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-12 00:26:43 +00:00
Timo Graham 5d71bec5e4 [1.3.X] Fixed #15949 - Clarified the docs for password_reset_done view; thanks cyclops for the suggestion; Horst Gutmann for the patch.
Backport of r16378 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16379 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-11 23:41:28 +00:00
Timo Graham 1b51aa74b8 [1.3.X] Fixed #16158 - Changed FALLBACK_DYLD_LIBRARY_PATH to DYLD_FALLBACK_LIBRARY_PATH in GIS documentation; thanks adam for the report.
Backport of r16364 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16365 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-11 09:35:36 +00:00
Carl Meyer a5b44ed873 [1.3.X] Refs #15855 -- Recommended the csrf_protect decorator rather than vary_on_cookie as workaround for cache_page caching the response before it gets to middleware.
Backport of r16361 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16362 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-10 16:19:56 +00:00
Karen Tracey c1baaa8c87 [1.3.X] Fix #15880: Prevent "stalling" when running dev server in background by ignoring SIGTTOU for the duration of tcsetattr.
Backport of [16326] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16327 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-04 15:31:41 +00:00
Timo Graham f578563291 [1.3.X] Fixed #16145 - typo in manager docs; thanks leereilly.
Backport of r16324 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16325 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-04 14:39:16 +00:00
Luke Plant 0e90de0a15 [1.3.X] Fixed #16144 - layout of admin changelist broken for RTL languages.
Backport of [16314] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16315 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-02 12:20:11 +00:00
Timo Graham 9f71bef7e9 [1.3.X] Fixed #16090, #16091 - Typos in docs; thanks teraom.
Backport of r16300 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16302 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-31 09:44:21 +00:00
Timo Graham d2abec535e [1.3.X] Fixed #15801 - Incorrect external link for dictConfig; thanks David Niergarth for the report; jonash for the patch.
Backport of r16100 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16301 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-31 09:44:18 +00:00
Luke Plant 6e87dacf62 [1.3.X] Fixed #15776 - delete regression in Django 1.3 involving nullable foreign keys
Many thanks to aaron.l.madison for the detailed report and to emulbreh for
the fix.

Backport of [16295] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16296 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-30 16:19:53 +00:00
Timo Graham 4124ef339c [1.3.X] Fixed #16093 - Typo in "Performing raw SQL queries"; thanks direvus.
Backport of r16293 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16294 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-30 12:11:46 +00:00
Jannis Leidel 879267f254 [1.3.X] Fixed #15992 -- Added more references to settings. Thanks, aaugustin.
Backport from trunk (r16290).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16291 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-29 17:50:52 +00:00
Luke Plant 7f3eda2f76 [1.3.X] Fixed #16004 - csrf_protect does not send cookie if view returns TemplateResponse
The root bug was in decorator_from_middleware, and the fix also corrects
bugs with gzip_page and other decorators.

Backport of [16276] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16279 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-25 17:31:47 +00:00
Luke Plant afa092853f [1.3.X] Changed utils/decorators.py tests to use RequestFactory
Backport of [16272] from trunk. Backported to make the backport of a
bugfix (regression) easier.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16278 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-25 17:31:36 +00:00
Chris Beaven 18ecfad767 [1.3.X] Fixes #16072 -- incorrect documentation for multiple expressions inside a blocktrans tag
Backport of r16268 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16269 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-23 01:54:37 +00:00
Timo Graham b9bdc96f9e [1.3.X] Fixed #16056 - Memcached configuration mistake in docs; thanks antonio/d0ugal.
Backport of r16265 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16266 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-22 17:00:23 +00:00
Timo Graham 82b9fed1c7 [1.3.X] Fixed #16067 - Couple reST fixes in ref/templates/builtins.txt; thanks julien.
Backport of r16263 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16264 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-22 16:44:14 +00:00
Timo Graham 2c3d3400ef [1.3.X] Fixed #16051 - Changed a "file" reference in the tutorial to be an actual file rather than a module; thanks felix.morency for the suggestion.
Backport of r16258 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16259 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-22 00:13:08 +00:00
Timo Graham 08f5ac3d51 [1.3.X] Fixed #16021 - Minor documentation fixes for Generic Class Views; thanks Bradley Ayers.
Backport of r16256 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16257 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-22 00:08:40 +00:00
Chris Beaven b5c6b4f1d4 [1.3.X] Tweaks to paginator documentation.
Backport of 16248 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16249 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-20 01:48:41 +00:00
Chris Beaven be776521db [1.3.X] Tidy up the sessions documentation creating links for session methods and crosslinking settings
Backport of r16245 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16246 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-20 00:52:36 +00:00
Ramiro Morales 770b91ca7b [1.3.X] Fixed small typos in staticfiles howto document.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16244 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-19 02:51:39 +00:00
Gabriel Hurley d12ac6d048 git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16243 bcc190cf-cafb-0310-a4f2-bffc1f526a37 2011-05-18 20:35:32 +00:00
Gabriel Hurley 49f4a28cce [1.3.X] Fixed #16044 -- Corrected a copy-and-paste error in the opening paragraph of the views topic guide. Thanks to aplanas for the report and suggested wording.
Backport of [16240] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16241 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-18 20:12:15 +00:00
Jannis Leidel e1dfa95cd1 [1.3.X] Fixed #15983 and #16032 -- Another pass over the staticfiles docs. Many thanks to Frank Wiles and EvilDMP.
Backport form trunk (r16235).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16236 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-18 09:52:44 +00:00
Timo Graham 5be8fdb03e [1.3.X] Fixed #15769 - Documented FormWizard's initial argument; thanks aimaz for the suggestion; jrothenbuhler for the patch.
Backport of r16229 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16230 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-15 19:12:29 +00:00
Simon Meers 8385b31c89 [1.3.X] Fixed #16014 -- numerous documentation typos -- thanks psmith.
Backport of r16220 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16221 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-13 04:39:49 +00:00
Simon Meers fc39163177 [1.3.X] Fixed #16005 -- Error in blocktrans docs -- thanks bezidejni
Backport of r16218 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16219 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-13 00:49:26 +00:00
Chris Beaven 9a4e5112b2 [1.3.X] Fixes #15595 -- emphasize the benefits of django.test.TestCase. Thanks for the patch Shawn Milochik
Backport of r16214 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16215 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-11 21:30:05 +00:00
Luke Plant 5c08cda611 [1.3.X] Fixed #13648 - '%s' escaping support for sqlite3 regression.
Thanks to master for the report and initial patch, and salgado and others
for work on the patch.

Backport of [16209] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16210 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-10 12:28:29 +00:00
Chris Beaven 7fd113e618 [1.3.X] Fixes #15963 -- Misleading FileField.save documentation. Thanks for the report and patch, ejucovy.
Backport of r16207 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16208 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-10 00:28:05 +00:00
Chris Beaven 4cb2b53c22 [1.3.X] Fixes #15588 -- 1.3 release documentation for FileField no longer deleting files unclear. Thanks for the patch, Philip Neustrom.
Backport of r16205 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16206 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-10 00:20:21 +00:00
Luke Plant fda65ffea5 [1.3.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.3.X@16203 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-09 23:47:50 +00:00
Simon Meers af1943f139 [1.3.X] Fixed #15989 -- typo in static-files howto. Thanks luizvital.
Backport of r16195 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16196 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-09 22:31:07 +00:00
Luke Plant fb052a15ed [1.3.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.3.X@16193 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-09 21:37:52 +00:00
Luke Plant b3a4613595 [1.3.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.3.X@16184 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-09 15:45:10 +00:00
Chris Beaven d06531d3f0 [1.3.X] Fixes #15975 -- Test failure in model validation tests due to us now having https://www.djangoproject.com
Backport of r16163 from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16164 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-05 23:12:55 +00:00