Commit Graph

69 Commits

Author SHA1 Message Date
Russell Keith-Magee 853f9c7db9 Fixed #5271 -- Fixed documentation reference to using the application name as an argument to manage.py validate. The recent management.py refactor exposed this error; it was silently ignored previously.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6040 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-03 13:13:10 +00:00
Gary Wilson Jr 4ea2afa4d5 Fixed #5257 -- Fixed typo in tutorial from [6006]. Thanks, Collin Grady.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6020 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-26 01:16:19 +00:00
Adrian Holovaty ce207949f3 Fixed #5195 -- Added notes to docs/tutorial01.txt about max_length and __unicode__() changes and 0.96 vs. development version. Thanks, ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6006 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 18:43:32 +00:00
Malcolm Tredinnick 84bc65e137 Fixed #4941 -- Changed imports for interactive portion of the example to be consistent with the source code file, at the expense of slightly more typing required. This might help reduce some confusion. Thanks, John Shaffer.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5871 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12 10:37:56 +00:00
Adrian Holovaty f1edb8c2b3 Fixed #5097 -- Made various updates and corrections to the documentation. Thanks, Nicola Larosa
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5825 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-07 02:33:11 +00:00
Gary Wilson Jr 212ee65be7 Fixed #2101 -- Renamed `maxlength` argument to `max_length` for oldforms `FormField`s and db model `Field`s. This is fully backwards compatible at the moment since the legacy `maxlength` argument is still supported. Using `maxlength` will, however, issue a `PendingDeprecationWarning` when used.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5803 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-05 05:14:46 +00:00
Gary Wilson Jr 541c9ff797 Fixed #4814 -- Fixed some whitespace issues in tutorial01, thanks John Shaffer.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5639 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-10 02:45:11 +00:00
Malcolm Tredinnick 953badbea5 Merged Unicode branch into trunk (r4952:5608). This should be fully
backwards compatible for all practical purposes.

Fixed #2391, #2489, #2996, #3322, #3344, #3370, #3406, #3432, #3454, #3492, #3582, #3690, #3878, #3891, #3937, #4039, #4141, #4227, #4286, #4291, #4300, #4452, #4702


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5609 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-04 12:11:04 +00:00
Adrian Holovaty 510e545776 Fixed #4690 -- Fixed a bunch of ReST errors in docs. Thanks, Paul B.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5571 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-01 01:00:23 +00:00
Adrian Holovaty c6cac4a78e Fixed #4586 -- Fixed typo in docs/tutorial01.txt.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5496 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-20 06:07:06 +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 b786cc1017 Changed all URL references for django_admin/ to the canonical name of
django-admin/. This will avoid problems with missing HTTP redirects in future
historical documents. Refs #3992.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5040 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-20 09:22:01 +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 e9e728c212 Fixed #3786 -- Fixed sqlinitialdata references in some docs. Thanks, Ramiro Morales
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5004 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-13 01:01:57 +00:00
Russell Keith-Magee 4dab533f7e Fixed #3858 -- Updated pieces of tutorial 1 to reflect recent changes. Thanks to Kashif Razzaqui for the report, and Simon for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4846 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-29 11:05:44 +00:00
Jacob Kaplan-Moss b9522d0a52 Fixed #2592: Added a warning to tutorial 1 about not naming your project "site" or "django" or anything else similarly boneheaded.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4618 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-26 20:51:21 +00:00
Jacob Kaplan-Moss 3d164ab04f D'oh, fixed broken ReST in last commit.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4595 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-26 05:16:52 +00:00
Jacob Kaplan-Moss d7d73c9fac Fixed #3354: added a message to tutorial 1 about where to go for help. Thanks to Marc Fargas for the original patch, but I ended up going with a somewhat softer wording just to be double-plus-ultra-sure not to turn anyone off.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4594 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-26 05:15:52 +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 1cf552dcec Changed django.VERSION to (0, 95, None) to signify final 0.95 release
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3481 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-28 21:53:54 +00:00
Malcolm Tredinnick e6e663371b Fixed #2354 -- Added a note about "manage.py validate" to the list of useful
commands.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3362 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-19 02:28:35 +00:00
Malcolm Tredinnick ce6f058bbb Fixed #1724 -- updated the output from the shell commands to match what we now
produce.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@2937 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-18 12:41:24 +00:00
Adrian Holovaty 4b69ef637a Fixed #1815 -- Fixed ReST errors in docs. Thanks, nico@teknico.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2869 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-09 15:21:28 +00:00
Adrian Holovaty 0c31254376 Small tweaks to docs/tutorial01.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2853 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 03:31:26 +00:00
Adrian Holovaty a79cbb5fe8 Fixed #1765 -- Fixed bug in docs/tutorial01.txt. Thanks, nick@efford.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2832 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-04 19:35:30 +00:00
Adrian Holovaty c6750acfe3 Removed 'Your first page' section from docs/tutorial01.txt in the interim before the doc is proofread.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2826 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-04 02:45:00 +00:00
Adrian Holovaty 3ec68658ec Temporarily changed 'blog' to 'poll' in tutorial01 to avoid confusion
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2822 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-03 13:50:32 +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 e702ec158f Fixed #1225 -- Added note to docs/tutorial01.txt that notes 2005 may not be current year.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1963 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-15 00:37:59 +00:00
Adrian Holovaty 16efb33203 Updated tutorial01.txt to note possible error about DATABASE_ENGINE
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1912 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-11 17:48:41 +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 0c6653cf03 Added 'Where should this code live?' section to tutorial01
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-15 23:44:33 +00:00
Adrian Holovaty 1bd85787ec Fixed #933 -- Updated 'django-admin.py sql polls' output in tutorial01. Thanks, jhernandez
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1465 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 19:28:38 +00:00
Adrian Holovaty cdbc94dbd2 Fixed #838 -- Removed unused link in tutorial01.txt. Thanks, paolo
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1285 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-18 21:42:45 +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 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 7cc9526b2e Fixed typo in docs/tutorial01.txt. Thanks, Aggelos Orfanakos
git-svn-id: http://code.djangoproject.com/svn/django/trunk@747 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-30 16:40:15 +00:00
Adrian Holovaty 7f4067100c Fixed #150 -- Clarified DATABASE_NAME description in docs/tutorial01.txt for SQLite. Thanks, lstep@adelux.fr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@703 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-27 03:38:15 +00:00
Adrian Holovaty bcce1d901f Fixed small typo in docs/tutorial01.txt -- thanks, pb@e-scribe.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@573 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-29 20:33:14 +00:00
Adrian Holovaty 25264c8604 Fixed #122 -- BIG, BACKWARDS-INCOMPATIBLE CHANGE. Changed model syntax to use fieldname=FieldClass() syntax. See ModelSyntaxChangeInstructions for important information on how to change your models
git-svn-id: http://code.djangoproject.com/svn/django/trunk@549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-25 22:51:30 +00:00
Adrian Holovaty 601a892ea0 Fixed #380 -- Clarified tutorial 1. Thanks, ssteiner
git-svn-id: http://code.djangoproject.com/svn/django/trunk@544 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-21 18:28:04 +00:00
Adrian Holovaty 297731c657 Fixed #381 -- Clarified tutorial 1. Thanks, ssteiner
git-svn-id: http://code.djangoproject.com/svn/django/trunk@543 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-21 18:26:56 +00:00
Adrian Holovaty e004d2a0f7 Changed docs/tutorial01.txt to be clearer about PYTHONPATH environment variable -- thanks for the suggestion, Ken Kinder
git-svn-id: http://code.djangoproject.com/svn/django/trunk@501 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-15 04:19:16 +00:00
Adrian Holovaty 025b16178f Changed docs/tutorial01.txt to use a tree format instead of 'ls' output -- thanks for the suggestion, Ken Kinder
git-svn-id: http://code.djangoproject.com/svn/django/trunk@500 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-15 04:15:59 +00:00
Adrian Holovaty aed151d3d8 Improved docs/tutorial01.txt thanks to reader suggestions
git-svn-id: http://code.djangoproject.com/svn/django/trunk@480 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-11 16:01:09 +00:00
Adrian Holovaty 9c2d890eec Added link to docs/django-admin from tutorial01
git-svn-id: http://code.djangoproject.com/svn/django/trunk@474 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10 20:38:00 +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 b307fb09bb Fixed #239 and #107 -- Changed model init() to use Field.get_default() if the value wasn't explicitly passed as a keyword argument. That means setting 'id=None' is no longer necessary, and you can leave off fields if you want them to have default values set.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@360 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-01 16:26:39 +00:00
Adrian Holovaty f188d5930d Fixed #143 -- Clarified the need for an environment variable in tutorial 1. Thanks, sdelatorre@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@328 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-26 22:58:39 +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