Luke Plant
7b8c38250c
Fixed #15057 - documented change in [14992]
...
Thanks to Tai Lee for the patch.
Refs #15025 , #7153
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15188 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-13 13:47:21 +00:00
Timo Graham
25463719d3
Fixed #14988 - Remove renaming step in tutorial that's no longer applicable due to generic view refactor. Thanks bindzus for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15106 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-29 17:20:30 +00:00
Timo Graham
5ba961e267
Fixed #14890 - Clarify poll "index" page in tutorial. thanks dbaggott for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-27 23:29:49 +00:00
Timo Graham
1fab808b1f
Fixed #6550 - Changed generic view portion of the tutorial so it's equivalent to "the hard way" results. Thanks Alexandre Dupas for the suggestion.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-27 23:27:18 +00:00
Timo Graham
2ea93f9327
Fixed #14000 - remove versionadded/changed tags for Django 1.0 and 1.1
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15055 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-26 00:37:14 +00:00
Timo Graham
9af06cbb63
Fixed #14863 - Add contrib.messages and staticfiles to list of default INSTALLED_APPS in tutorial. thanks tgm for report and adamv for patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14870 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-11 15:04:25 +00:00
Chris Beaven
8aa2485a58
Fixes #6739 -- better development installation docs. Thanks to Adam Vandenberg for inspiration.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14686 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-23 03:54:13 +00:00
Carl Meyer
261aee26c1
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.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14621 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-19 14:26:01 +00:00
Chris Beaven
3e9d2f81c5
Remove an obsolete admonition in tutorial one (referencing 0.96 functionality)
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14585 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-17 02:25:20 +00:00
Adrian Holovaty
2380584783
Small rewording of tutorial01.txt changes from [14066]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14499 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-08 21:52:32 +00:00
Gabriel Hurley
7f2b36050e
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.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14482 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-07 01:42:55 +00:00
Gabriel Hurley
f6824840a2
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.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14472 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-06 10:06:30 +00:00
Alex Gaynor
3761f3b166
Corrected some typos in the tutorial, thanks to Brandon Height for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14358 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-26 18:44:11 +00:00
Alex Gaynor
7f84dac3c7
Fixed #14519 -- corrected a type in the tutorial, thanks buriy for the report and fix.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14308 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-21 06:01:02 +00:00
Gabriel Hurley
d1a632f9f9
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.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14302 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-20 21:18:58 +00:00
Russell Keith-Magee
5fadeb848c
Fixed #14494 -- Cleanup and typo in tutorial 4, introduced by class-based view changes. Thanks to Andrews Medina for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14278 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-19 04:03:07 +00:00
Gabriel Hurley
7f9da79bac
Fixed #14464 -- Strengthened the admonition regarding documentation versions at the end of the install docs. Thanks to PaulM for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14274 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-19 00:26:39 +00:00
Gabriel Hurley
7baee5b953
Fixed #14426 -- Removed "mysite" import statements from examples that might teach people "bad habits" in regards to creating reusable apps.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14270 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-19 00:10:22 +00:00
Russell Keith-Magee
0fcb094557
Fixed #6735 -- Added class-based views.
...
This patch is the result of the work of many people, over many years.
To try and thank individuals would inevitably lead to many people
being left out or forgotten -- so rather than try to give a list that
will inevitably be incomplete, I'd like to thank *everybody* who
contributed in any way, big or small, with coding, testing, feedback
and/or documentation over the multi-year process of getting this into
trunk.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14254 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-18 13:34:47 +00:00
Carl Meyer
2623f2b744
Fixed typo in tutorial 01.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14129 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-10 18:15:16 +00:00
Gabriel Hurley
06bad9e37e
Fixed #13927 -- 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.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14108 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-10 06:06:38 +00:00
Russell Keith-Magee
a904e55859
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.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09 08:12:50 +00:00
Simon Meers
d81faf356c
Fixed #14255 -- factor project name out of app imports in tutorial. Thanks to adamend for the report and initial patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14066 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09 07:45:52 +00:00
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