Timo Graham
93e42272a4
[1.2.X] Fixed #14890 - Clarify poll "index" page in tutorial. thanks dbaggott for the report.
...
Backport of r15069 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15070 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-27 23:30:19 +00:00
Timo Graham
cf53963b6a
[1.2.X] Fixed #14863 - Add contrib.messages to list of default INSTALLED_APPS in tutorial.
...
Backport of r14870 (without staticfiles) from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14871 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-11 15:06:50 +00:00
Carl Meyer
5ef3269b78
[1.2.X] Fixed #14728 -- Broadened warning about django-admin.py missing .py suffix to include more than just Ubuntu, since at least Fedora also does this. Thanks to giallu for the report.
...
Backport of r14621 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14622 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-19 14:57:50 +00:00
Chris Beaven
929b8ff3da
[1.2.X] Remove an obsolete admonition in tutorial one (referencing 0.96 functionality)
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14584 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-17 02:24:58 +00:00
Jacob Kaplan-Moss
33c0a14180
[1.2.X] Small rewording of tutorial01.txt changes from [14066]
...
Backport of [14499] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14500 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-08 23:50:17 +00:00
Gabriel Hurley
969ac914ff
[1.2.X] Fixed #10904 -- Corrected inappropriate usage of the term "absolute URL" throughout the docs. Replaced with the (RFC 2396-compliant) terms "absolute path reference" or "absolute path" as appropriate for the context. Thanks to sharan666 for the report, and Malcolm, Chris, and dwillis for their work in supplying a solution and patch.
...
Backport of [14482] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14483 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-07 01:44:32 +00:00
Gabriel Hurley
24ce5033c8
[1.2.X] Fixed #14627 -- Made Tutorial 3 more explicit regarding the transformations the URLconf undergoes in the final two sections, and gave an example of concatenating two patterns() in the process. Thanks to filmer for the report.
...
Backport of [14472] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14473 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-06 10:09:35 +00:00
Gabriel Hurley
1160d81e44
[1.2.X] Fixed #14432 -- Added an import statement which was previously implied in tutorial 3's URLconf to make it as explicit as possible for new users. Thanks to gorus for the report and andrews for the patch.
...
Backport of [14302] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14303 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-20 21:19:50 +00:00
Gabriel Hurley
4ec58f702b
[1.2.X] Fixed #14464 -- Strengthened the admonition regarding documentation versions at the end of the install docs. Thanks to PaulM for the report.
...
Backport of [14274] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14275 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-19 00:28:00 +00:00
Gabriel Hurley
9dfdcf86be
[1.2.X] Fixed #14426 -- Removed "mysite" import statements from examples that might teach people "bad habits" in regards to creating reusable apps.
...
Thanks to idahogray for assisting with the patch (and sorry for forgetting the attribution in the patch on trunk).
Backport of [14270] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14271 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-19 00:11:51 +00:00
Carl Meyer
e226a113a6
[1.2.X] Fixed typo in tutorial 01. Backport of [14129].
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14130 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-10 18:17:32 +00:00
Gabriel Hurley
7de577093c
[1.2.X] Advises that the Ubuntu package manager drops the .py extension from django-admin.py. Thanks to islands for the report and d0ugal for the patch.
...
Backport of [14108] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14109 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-10 06:07:25 +00:00
Russell Keith-Magee
9584b77c35
[1.2.X] Fixed #11509 -- Modified usage of "Web" to match our style guide in various documentation, comments and code. Thanks to timo and Simon Meers for the work on the patch
...
Backport of r14069 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14072 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09 08:25:01 +00:00
Simon Meers
824ca0d6e5
[1.2.X] Fixed #14255 -- factor project name out of app imports in tutorial. Thanks to adamend for the report and initial patch.
...
Backport of r14066 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14067 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09 07:48:09 +00:00
Luke Plant
b176bd4f1e
[1.2.X] 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.
Backport of [13847] from trunk
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13848 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-13 22:49:18 +00:00
Luke Plant
0c8e8b15b5
[1.2.X] Fixed #12918 - Tutorial page 2 issues
...
Thanks to Leam for report, cassidy for patch.
Backport of [13841] from trunk
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13842 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-13 19:43:41 +00:00
Jacob Kaplan-Moss
936203434e
[1.2.X] Fixed #14141 : docs now use the :doc: construct for links between documents.
...
Thanks, Ramiro Morales.
Backport of [13608] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13609 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-19 19:31:56 +00:00
Jannis Leidel
5588870529
[1.2.X] Fixed #14111 -- Updated Sphinx version recommendation in documentation. Thanks, Ramiro Morales and Paul McMillan.
...
Backport of r13604 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13605 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-18 16:35:48 +00:00
Karen Tracey
6fd09c600f
[1.2.X] Fixed #14127 : Adding a couple of missing backticks. Thanks kishkin.
...
r13600 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13601 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-18 02:44:58 +00:00
Luke Plant
a84a390c7a
[1.2.X] Fixed #13880 - added 2.7 to list of supported versions of Python
...
Thanks Alex
Backport of [13423] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13424 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-05 17:10:58 +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