Commit Graph

30 Commits

Author SHA1 Message Date
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