Commit Graph

27 Commits

Author SHA1 Message Date
Malcolm Tredinnick 0a49719e7a Used the url() function when adding a named URL pattern, mostly as an example of good practice and to introduce the function. Fixed #4908 (although it wasn't a bug).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5946 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-19 15:08:48 +00:00
Gary Wilson Jr eba5703fee Refs #5089 -- Added file name to poll detail template examples in the tutorial.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5801 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-05 04:39:52 +00:00
Gary Wilson Jr ac027df253 Changed several documentation links to be relative.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5798 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-04 03:39:24 +00:00
Adrian Holovaty 8c4cc32352 Edited changes to docs/tutorial04.txt from [5649]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5651 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 04:44:45 +00:00
Jacob Kaplan-Moss 74fe707e04 Fixed #4615: corrected reverse URL resolution examples in tutorial 4. Thanks for the patch, simeonf.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5649 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 00:33:44 +00:00
Malcolm Tredinnick eb29552b20 Fixed #4409 -- Fixed a typo in tutorial (thanks, mitch.hunt.007@gmail.com
). Also updated the reverse() documentation to reflect that it can take
function references or strings for function names.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5401 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-01 09:35:29 +00:00
Malcolm Tredinnick 5bb8c84882 Fixed #4221 -- Removed dependence on hard-coded URL in tutorial 4.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5368 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-27 13:41:10 +00:00
Malcolm Tredinnick 47c94244e4 Fixed #4364 -- Added a link to the main docs page to the end of the tutorial in
case it isn't obvious.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5366 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-27 13:19:37 +00:00
Adrian Holovaty 39aa40d108 Fixed #4133 -- Fixed broken links in docs. Thanks, Gary Wilson
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5064 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-24 05:58:03 +00:00
Malcolm Tredinnick 6f78709985 Changed all references to tutorial1/ to be tutorial01/ (and similarly for
tutorials 2, 3 and 4). This matches the canonical name we use under
djangoproject.com/documentation/ as well as the source filename. Should avoid
problems with archived documentation and missing HTTP redirects. Refs #4013.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5039 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-20 09:15:30 +00:00
Jacob Kaplan-Moss b97636944d Fixed #2565: added a note about the laziness of querysets in tutorial 4. Thanks, Ubernostrum.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4637 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-27 04:27:47 +00:00
Adrian Holovaty 8e54c49784 Fixed #3333 -- Docs now use relative links, not hard-coded djangoproject.com links. Thanks for the patch, SmileyChris
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4420 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-24 20:08:47 +00:00
Russell Keith-Magee a043715d74 Fixes #2967 -- Fixed some typos in tutorial 4. Thanks, ramiro.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3947 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-30 13:44:41 +00:00
Adrian Holovaty 7d5f6fe0f4 Fixed ReST error in docs/tutorial04.txt. Thanks, Dave Abrahams
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3882 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-28 20:39:37 +00:00
Adrian Holovaty c37a6fa17a Fixed #2435 -- Fixed wording errors in Tutorial 4. Thanks, nicholas@aquarionics.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3456 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-27 16:16:17 +00:00
Adrian Holovaty 27612d8b7d Fixed #1833 -- Fixed some errors in tutorials. Thanks, quarkcool@yahoo.fr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2923 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-16 20:45:20 +00:00
Adrian Holovaty f69cf70ed8 MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-02 01:31:56 +00:00
Adrian Holovaty 5de00f785f Updated tutorials 1-4 to use manage.py instead of django-admin.py, new directory layout (no /apps/ subdirectory) and other various tweaks
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1901 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-11 02:06:27 +00:00
Adrian Holovaty 464e84257d Changed 'django-admin.py startapp' application template to use views.py instead of views package, for simplicity. Updated tutorial to reflect the change.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1258 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-16 02:00:23 +00:00
Adrian Holovaty 41d5cff745 Fixed #548 -- Added missing step at the end of docs/tutorial04.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1034 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-01 00:49:52 +00:00
Adrian Holovaty f71f854628 Fixed #626 -- Moved template modules to django.core.template package. django.core.template_loader is deprecated, in favor of django.core.template.loader.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-14 20:10:13 +00:00
Adrian Holovaty b7528320b6 Changed overview and tutorial docs to use render_to_response and get_object_or_404, to cut down on code
git-svn-id: http://code.djangoproject.com/svn/django/trunk@678 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-23 22:50:05 +00:00
Adrian Holovaty 4e2f910ff1 Added link to request-and-response documentation from tutorial04
git-svn-id: http://code.djangoproject.com/svn/django/trunk@603 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 17:48:18 +00:00
Adrian Holovaty 1303933fd9 Fixed typo in docs/tutorial04.txt -- thanks, 'nitpicker'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@499 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-15 04:08:28 +00:00
Adrian Holovaty e79eb09f21 Fixed #293 -- Typo in tutorial04. Thanks, espen@grindhaug.org
git-svn-id: http://code.djangoproject.com/svn/django/trunk@439 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-09 15:34:20 +00:00
Adrian Holovaty b108360407 Fixed #290 -- Thanks, Matt Croydon
git-svn-id: http://code.djangoproject.com/svn/django/trunk@437 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-09 00:43:33 +00:00
Adrian Holovaty 1cc4531f0b Added docs/tutorial04.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@435 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-08 21:02:28 +00:00