Commit Graph

70 Commits

Author SHA1 Message Date
Luke Plant 76366aab18 Fixed #13623 - code in intro-tutorial03 missing an import statement
Thanks to lescoutinhovr@gmail.com, AMJ for the report, and to zerok/timo for
the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13847 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-13 22:47:20 +00:00
Luke Plant 6302647647 Fixed #12918 - Tutorial page 2 issues
Thanks to Leam for report, cassidy for patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13841 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-13 18:39:16 +00:00
Jacob Kaplan-Moss 728effcfbd Fixed #14141: docs now use the :doc: construct for links between documents.
Thanks, Ramiro Morales.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13608 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-19 19:27:44 +00:00
Jannis Leidel 806c30cd63 Fixed #14111 -- Updated Sphinx version recommendation in documentation. Thanks, Ramiro Morales and Paul McMillan.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13604 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-18 16:34:50 +00:00
Karen Tracey 68aff2f7be Fixed #14127: Adding a couple of missing backticks. Thanks kishkin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13600 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-18 02:42:01 +00:00
Luke Plant 0f34c3dbf4 Fixed #13880 - added 2.7 to list of supported versions of Python
Thanks Alex



git-svn-id: http://code.djangoproject.com/svn/django/trunk@13423 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-05 17:07:50 +00:00
Russell Keith-Magee d73eb089f2 Fixed #13333 -- Corrected typo in whatsnew docs. Thanks to cicatrix1 for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13195 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-10 11:35:43 +00:00
Russell Keith-Magee 6e030e7d1e Fixed #12114 -- Clarified the existence of the reverse relation _set in the tutorial. Thanks to panfist for the suggestion, and dwillis for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12711 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-08 03:20:29 +00:00
Russell Keith-Magee 36e97e59cd Fixed #12811 -- Modified Tutorial 2 to indicate that the templating language will be covered later. Thanks to bac for the suggestion, and Gabriel Hurley for the draft text.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12710 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-08 03:19:57 +00:00
Justin Bronn c736cbe816 Fixed #12958 -- Fixed typo I introduced in r12527. Thanks, mitchf.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12588 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-24 22:11:49 +00:00
Justin Bronn bca753e283 Fixed #12485 -- Added links to polls templates in tutorial. Thanks, gungadin for ticket and Derek Willis for patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12527 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-23 15:00:33 +00:00
Justin Bronn 84cffa2ece Fixed #12585 -- Corrected typo in tutorial03. Thanks, fcsmith.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12484 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-22 02:29:39 +00:00
James Bennett e0dd8a930b Fixed #12745: The maxlength -> max_length change happened in 2007, we can probably stop mentioning it in the tutorial now.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12362 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-01 11:53:14 +00:00
Adrian Holovaty 8bf71f5c8d Fixed #11222 -- Clarified location of admin templates in tutorial02. Thanks, cantorman
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12202 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-10 21:56:15 +00:00
Adrian Holovaty 5bcaa45d33 Fixed #11501 -- Removed 'How meta' from tutorial 2 to appease the grammar nazis
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12191 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-10 18:55:04 +00:00
Adrian Holovaty 985dcdb4b2 Fixed #12350 -- Fixed typo in tutorial04. Thanks, mortense
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12173 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-10 17:55:46 +00:00
Adrian Holovaty 1f400c6df0 Fixed #12326 -- Fixed typo in tutorial04. Thanks, mortense
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12172 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-10 17:54:34 +00:00
Adrian Holovaty 978fb8639f Fixed #12092 -- Fixed grammar error in install.txt. Thanks, Abizern and timo
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12169 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-10 17:47:53 +00:00
Gary Wilson Jr adb74a8f2e Fixed several broken and redirecting URLs in the documentation (fixes #12219, refs #12427).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11994 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-26 06:37:26 +00:00
Russell Keith-Magee ff60c5f9de Fixed #1142 -- Added multiple database support.
This monster of a patch is the result of Alex Gaynor's 2009 Google Summer of Code project.
Congratulations to Alex for a job well done.

Big thanks also go to:
 * Justin Bronn for keeping GIS in line with the changes,
 * Karen Tracey and Jani Tiainen for their help testing Oracle support
 * Brett Hoerner, Jon Loyens, and Craig Kimmerer for their feedback.
 * Malcolm Treddinick for his guidance during the GSoC submission process.
 * Simon Willison for driving the original design process
 * Cal Henderson for complaining about ponies he wanted.

... and everyone else too numerous to mention that helped to bring this feature into fruition.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11952 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-22 15:18:51 +00:00
Luke Plant 8e70cef9b6 Fixed #9977 - CsrfMiddleware gets template tag added, session dependency removed, and turned on by default.
This is a large change to CSRF protection for Django.  It includes:

 * removing the dependency on the session framework.
 * deprecating CsrfResponseMiddleware, and replacing with a core template tag.
 * turning on CSRF protection by default by adding CsrfViewMiddleware to
   the default value of MIDDLEWARE_CLASSES.
 * protecting all contrib apps (whatever is in settings.py)
   using a decorator.

For existing users of the CSRF functionality, it should be a seamless update,
but please note that it includes DEPRECATION of features in Django 1.1,
and there are upgrade steps which are detailed in the docs.

Many thanks to 'Glenn' and 'bthomas', who did a lot of the thinking and work
on the patch, and to lots of other people including Simon Willison and
Russell Keith-Magee who refined the ideas.

Details of the rationale for these changes is found here:

http://code.djangoproject.com/wiki/CsrfProtection

As of this commit, the CSRF code is mainly in 'contrib'.  The code will be
moved to core in a separate commit, to make the changeset as readable as
possible.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@11660 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-26 23:23:07 +00:00
Jacob Kaplan-Moss 7098664940 Removed mentions of Python 2.3 support from the docs -- Django 1.2 drops support for Python 2.3 -- and added a quick FAQ about that dropping of support.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11640 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-23 19:30:23 +00:00
Russell Keith-Magee f14833ee67 Fixed #11959 -- Updated the tutorial to ensure that the admin site continues to work after URLpatterns are introduced. Thanks to carljm for the report and draft patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11621 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-14 13:38:31 +00:00
Russell Keith-Magee 77c64c69cf Fixed #11628 -- Corrected the tutorial, removing instructions to update the year where that isn't required. Thanks to tommstein for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11538 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-12 22:57:58 +00:00
Russell Keith-Magee 8708280783 Fixed #11556 -- Clarified the argument required by get_object_or_404. Thanks to rbonvall for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11344 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-28 14:38:11 +00:00
Russell Keith-Magee e114cbf3de Fixed #11469 -- Removed suspicion that Django developers have trouble counting to four. Thanks to msgre for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11235 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-15 13:53:29 +00:00
Russell Keith-Magee ee8cc099c0 Fixed #10978 -- Clarified that the include statement is part of the urlpattern definition. Thanks to swatermasysk for the suggestion.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11052 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18 13:36:40 +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
Russell Keith-Magee 1a7238c730 Fixed #11328 -- Added missing imports in the sample urls.py from Tutorial 3. Thanks to marcalj for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11021 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-17 13:46:52 +00:00
Russell Keith-Magee 8765615b9b Fixed #10801 -- Reverted a portion of [10371]. Practicality beats purity in this case. Thanks to bruce@z2a.org for the report. Refs #9771.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10973 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-10 12:46:43 +00:00
Karen Tracey 5dc30c9fd2 Fixed #11205 -- Made the links to the str method description look the same as the links to the unicode method description in the tutorial part 1. Having one be fully qualified while the other was not was odd-looking.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10843 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-26 16:46:56 +00:00
Karen Tracey b527a59da8 Fixed #10855: Reference doc on creating superusers in the tutorial at the point where an account is needed, so that readers who neglected to create one earlier (or who forgot the password) don't get stuck or think they have to start all over. Thanks cwolf127 and timo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10810 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17 17:54:51 +00:00
Karen Tracey 33e77db6a2 Fixed #10925 -- Clarified the location of some code referenced in the tutorial. Thanks rm and timo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10808 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17 17:43:15 +00:00
Simon Willison 9e97fdf357 Added admin URLs back to the urls.py example in the tutorial - had a complaint from someone following the tutorial that they got to that step and the admin stopped working and they weren't sure why
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10727 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-09 15:52:17 +00:00
Jacob Kaplan-Moss c6c25adf6d Fixed a whole bunch of small docs typos, errors, and ommissions.
Fixes #8358, #8396, #8724, #9043, #9128, #9247, #9267, #9267, #9375, #9409, #9414, #9416, #9446, #9454, #9464, #9503, #9518, #9533, #9657, #9658, #9683, #9733, #9771, #9835, #9836, #9837, #9897, #9906, #9912, #9945, #9986, #9992, #10055, #10084, #10091, #10145, #10245, #10257, #10309, #10358, #10359, #10424, #10426, #10508, #10531, #10551, #10635, #10637, #10656, #10658, #10690, #10699, #19528.

Thanks to all the respective authors of those tickets.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10371 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-03 18:30:54 +00:00
Jacob Kaplan-Moss 516051bfd2 A whole lotta documentation fixes: Fixes #8704, #8826, #8980, #9243, #9343, #9529,
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10303 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 23:34:03 +00:00
Gary Wilson Jr e87e7436e2 Fixed #10266 -- Clarified restart of shell in tutorial, patch from mboersma.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10263 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 16:45:41 +00:00
Gary Wilson Jr 7372ea159a Fixed #10389, #10501, #10502, #10540, #10562, #10563, #10564, #10565, #10568, #10569, #10614, #10617, #10619 -- Fixed several typos as well as a couple minor issues in the docs, patches from timo, nih, bthomas, rduffield, UloPe, and sebleier@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10242 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-31 07:01:01 +00:00
Gary Wilson Jr 27314a8934 Fixed #9944 -- Fixed a URL in tutorial four that was changed in the "Decoupling the URLconfs" section at the end of tutorial three, patch from programmerq.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10202 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30 19:00:33 +00:00
Jacob Kaplan-Moss 4cf1327aa4 Cleaned up some documentation about admin URLs in Django 1.1. Thanks, Alex Gaynor.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9892 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-02-24 01:10:26 +00:00
Jacob Kaplan-Moss 1f84630c87 Fixed #6470: made the admin use a URL resolver.
This *is* backwards compatible, but `admin.site.root()` has been deprecated. The new style is `('^admin/', include(admin.site.urls))`; users will need to update their code to take advantage of the new customizable admin URLs.

Thanks to Alex Gaynor.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9739 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-14 20:22:25 +00:00
James Bennett 280236eacd Another place where we talked about Python versions.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9632 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 23:05:55 +00:00
Karen Tracey 1f69b11ef5 Fixed #9337 -- Use a link to Jython that actually works. Thanks admackin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9323 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-01 20:51:54 +00:00
Karen Tracey d4f4ab8535 Fixed #9487 -- Corrected several links into the Python docs that were broken by the recent Python docs refactor.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9312 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-01 19:02:09 +00:00
Karen Tracey 8955a085a5 Fixed #9491 -- Added a missing 'the' in what to read next. Thanks mh983.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9310 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-01 18:04:36 +00:00
Malcolm Tredinnick e466d2ea53 Fixed #9257 -- Fixed a small mismatch in text in part 2 of the tutorial.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9134 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 06:19:06 +00:00
Adrian Holovaty 3b0bf9805d Fixed #9097 -- Fixed typo in tutorial04.txt. Thanks, zhe
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9041 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-16 05:30:48 +00:00
Russell Keith-Magee 7931da87ec Fixed #9059: Corrected some markup in tutorial 4 that incorrectly identified a template variable as a function. Thanks to zen for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9022 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 08:28:55 +00:00
Russell Keith-Magee a8d2810be5 Fixed #9048: Corrected markup typo in tutorial 4. Thanks to gkelly for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9021 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 08:15:22 +00:00
Adrian Holovaty 1b58b77f0d Edited docs changes from [9010] and [9011]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9014 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-11 03:32:28 +00:00