Commit Graph

47 Commits

Author SHA1 Message Date
Russell Keith-Magee 53a06763c5 Fixed #4502 -- Clarified reference to view in tutorial. Thanks for the suggestion, Carl Karsten <carl@personnelware.com>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5673 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 14:05:16 +00:00
Malcolm Tredinnick 13db259fe0 Fixed #4307 -- Clarified that ROOT_URLCONF is in settings.py and fixed a small
typo. Pointed out by rogerpack2005@gmail.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5365 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-27 13:11:30 +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
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
Adrian Holovaty 31bdd8d720 Fixed #3282 -- Fixed incorrect statement in docs/tutorial03.txt. Thanks, dave.pawson@gmail.com and Simon G.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4393 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-23 02:02:35 +00:00
Russell Keith-Magee e1c6e987d0 Fixed #2756 -- Modified the get_object_or_404/get_list_or_404 shortcuts to accept model managers as well as model classes. Thanks, Gary Wilson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4275 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-03 14:16:58 +00:00
Malcolm Tredinnick 31ff83e3ce Fixed #2863 -- Fixed a small typo in one of the examples. Thanks
bonovoxmofo@gmail.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3912 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-23 07:42:04 +00:00
Malcolm Tredinnick fa8a1d252a Fixed #2845 -- Corrected a few spelling errors in the docs and changed a
couple of correctly spelt words to their North American counterparts for
consistency. Thanks, treborhudson@gmail.com


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3883 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-29 02:30:42 +00:00
Malcolm Tredinnick 533594d1a5 Fixed #2355 -- Corrected a couple of small typos in code examples in tutorial03.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3359 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-19 01:35:58 +00:00
Adrian Holovaty 6870edf2a0 Fixed #2356 -- Removed references to get_object() from docs/tutorial03.txt. Thanks, toddobryan
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3356 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-17 14:16:17 +00:00
Adrian Holovaty a0de8b3b21 Fixed #2047 -- Typo in tutorial03.txt. Thanks, asmodai
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3017 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 14:29:11 +00:00
Adrian Holovaty 3c4e261931 Fixed #2046 -- Typo in tutorial03.txt. Thanks, asmodai
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3016 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 14:26:44 +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
Malcolm Tredinnick 34b798cb42 Fixed #1815: More documentation proof-reading from nico@teknico.net.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2908 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-15 11:33:17 +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 f125fb0afc Beefed up docs/url_dispatch.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1291 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-19 18:20:30 +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 23c9e2aec9 Fixed typo in docs/tutorial03.txt. Thanks, Dave Hodder
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1210 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-13 00:22:39 +00:00
Adrian Holovaty f07e5d4f5d Fixed #627 -- BACKWARDS-INCOMPATIBLE CHANGE. Admin is now an app, not a middleware. See BackwardsIncompatibleChanges for a full list of changes and information on how to update your code.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@948 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-19 01:09:05 +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 5595fe2aa6 Fixed typo in docs/tutorial03.txt. Thanks, Aggelos Orfanakos
git-svn-id: http://code.djangoproject.com/svn/django/trunk@745 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-30 16:38:03 +00:00
Adrian Holovaty eb3b1cfb81 Fixed ReST bug in [678]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@679 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-23 22:51:08 +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 9f12564168 Added link to request-and-response documentation from tutorial03
git-svn-id: http://code.djangoproject.com/svn/django/trunk@602 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 17:41:40 +00:00
Adrian Holovaty ee52eba85a Fixed formatting problem in docs/tutorial03.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@436 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-08 21:04:32 +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
Adrian Holovaty 03bd1d7ff9 Made some improvements/clean-ups to docs/tutorial03.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@430 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-08 15:47:57 +00:00
Adrian Holovaty 9d8dd8610d Changed 'check back within 48 hours' message, because it's blatantly false -- apologies
git-svn-id: http://code.djangoproject.com/svn/django/trunk@416 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-05 22:44:16 +00:00
Adrian Holovaty a537a4efa1 Changed 'django-admin startapp' so that it doesn't create the 'urls' directory. People have said they're a bit overwhelmed by the multiple url directories, and this one isn't necessary for basic Django usage. You can always make it yourself if you know what you're doing and want to decouple/distribute your apps.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@415 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-05 22:43:35 +00:00
Adrian Holovaty 8483f0aa04 Additional clarification to [365]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@366 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-01 19:03:33 +00:00
Adrian Holovaty d62f31228b Clarified Tutorial 3 to explain settings have changed -- thanks, Robin Munn
git-svn-id: http://code.djangoproject.com/svn/django/trunk@365 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-01 19:02:55 +00:00
Adrian Holovaty 7c738177dc Fixed typo in tutorial03 -- thanks, Robin Munn
git-svn-id: http://code.djangoproject.com/svn/django/trunk@364 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-01 18:59:35 +00:00
Adrian Holovaty 786c750c40 Fixed #163 -- Added 'pk' database API option, which is a shorthand for (primary_key)__exact
git-svn-id: http://code.djangoproject.com/svn/django/trunk@316 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-26 16:11:43 +00:00
Adrian Holovaty c2a5c49ac2 Fixed #153 -- Changed docs to use new ordering syntax
git-svn-id: http://code.djangoproject.com/svn/django/trunk@299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-22 18:45:22 +00:00
Jacob Kaplan-Moss 6bb7c50143 Rolled comments on tutorial 3 into document and cleaned up a few things.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@280 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 17:59:05 +00:00
Adrian Holovaty 8aa1645812 Changed tutorial docs to account for auto-reload on the development server
git-svn-id: http://code.djangoproject.com/svn/django/trunk@274 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 15:36:43 +00:00
Adrian Holovaty ec31445c52 Added '--settings' option to django-admin. This specifies which settings module to use, if you don't want to deal with setting the DJANGO_SETTINGS_MODULE environment variable. Refactored django-admin to use optparse. Updated the tutorials to use '--settings' instead of environment variables, which can be confusing.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@247 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20 17:42:36 +00:00
Adrian Holovaty 258afd8fae Fixed bug in example exception in tutorial03 -- thanks, Amit Upadhyay
git-svn-id: http://code.djangoproject.com/svn/django/trunk@214 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 18:34:25 +00:00
Adrian Holovaty b617884ced Fixed typo in tutorial03 -- thanks, Robin Munn
git-svn-id: http://code.djangoproject.com/svn/django/trunk@206 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 15:23:22 +00:00
Adrian Holovaty bec9009d83 Changed tutorial03 to match the new error message from [193]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@202 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 14:41:08 +00:00
Adrian Holovaty 1062b1e042 Small formatting fix to tutorial03
git-svn-id: http://code.djangoproject.com/svn/django/trunk@201 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 05:58:19 +00:00
Adrian Holovaty 851b14deca Word-wrapped some code examples in tutorial03
git-svn-id: http://code.djangoproject.com/svn/django/trunk@200 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 05:55:42 +00:00
Adrian Holovaty 09e825c746 Small formatting fix to tutorial03
git-svn-id: http://code.djangoproject.com/svn/django/trunk@199 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 05:52:54 +00:00
Adrian Holovaty 6fdb7c98e8 Small clarification to tutorial03
git-svn-id: http://code.djangoproject.com/svn/django/trunk@198 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 05:52:06 +00:00
Adrian Holovaty b20bb2fc26 Fixed stupid error in tutorial03
git-svn-id: http://code.djangoproject.com/svn/django/trunk@197 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 05:50:33 +00:00
Adrian Holovaty 1f4379bcd4 Added docs/tutorial03
git-svn-id: http://code.djangoproject.com/svn/django/trunk@195 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 05:43:07 +00:00