Commit Graph

53 Commits

Author SHA1 Message Date
Brian Rosner a19ed8aea3 Merged the newforms-admin branch into trunk.
This is a backward incompatible change. The admin contrib app has been
refactored. The newforms module has several improvements including FormSets
and Media definitions.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-18 23:54:34 +00:00
James Bennett b6a6f665cc img/doc/tutorial -> img/doc/tutorial-trunk in docs/tutorial02.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6819 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 22:36:45 +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
Malcolm Tredinnick e71240d60f Fixed #4344 -- Trivial typo fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5303 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-21 03:48:52 +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
Malcolm Tredinnick e4671d158c Fixed #3916 -- Small tweak to information in tutorial 2. Based on a patch from
Simon Greenhill.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4980 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-09 12:16:46 +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 41d903bdba Fixed #2854 -- Fixed inconsistency in docs/tutorial02.txt. Thanks, ymasuda
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3928 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-24 16:56:25 +00:00
Malcolm Tredinnick c60853e288 Fixed #2854 -- Incorporated a small suggestion which might make it clearer where
TEMPLATE_DIRS could point. Thanks, bonovoxmofo@gmail.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3915 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-23 07:55:16 +00:00
Adrian Holovaty f65cede313 Added note to docs/tutorial02.txt about which username to use in admin login
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3454 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-26 21:30:14 +00:00
Adrian Holovaty 6b1e7bddc1 Fixed typo in docs/tutorial02.txt. Thanks, Nick Fishman
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3013 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 02:16:49 +00:00
Malcolm Tredinnick 8fbf9714c3 Changed an overlooked occurrence of repr() to str(). Pointed out by Jeremy
Dunck on the mailing list.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@2967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-23 01:34:06 +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 19abf041bf Updated docs/tutorial02.txt to include extra sentence about remembering the 'admin' subdirectory
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1952 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-13 20:42:11 +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 58f95c3a6a Fixed #850 -- Made clarification in docs/tutorial02.txt. Thanks, Daniel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1300 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20 16:20:24 +00:00
Adrian Holovaty 33ffa72e40 Fixed #827 -- For admin list_display functions without a short_description, Django now converts underscores to spaces. Thanks, Aaron Swartz
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1275 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-17 15:26:50 +00:00
Adrian Holovaty 6b870c136b Changed tutorial02 not to say redirects and flatpages are included
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1262 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-16 03:09:50 +00:00
Adrian Holovaty d7a69df1b6 Fixed ReST bug in docs/tutorial02.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@950 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-19 01:17:13 +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 cd435ff796 Fixed #417 -- Added clarification to docs/tutorial02.txt about settings.admin vs. settings.main. Thanks, benno@jeamland.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@596 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-01 21:59:39 +00:00
Adrian Holovaty 3db068f7fa Fixed bug in docs/tutorial02.txt related to model syntax change. Thanks, Jeremy
git-svn-id: http://code.djangoproject.com/svn/django/trunk@555 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-26 05:32:30 +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 33f2304ea9 Fixed #383 -- Clarified tutorial 2. Thanks, ssteiner
git-svn-id: http://code.djangoproject.com/svn/django/trunk@542 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-21 18:25:36 +00:00
Adrian Holovaty 81c4649944 Made some tiny tweaks to docs/tutorial02.txt -- thanks, anonymous
git-svn-id: http://code.djangoproject.com/svn/django/trunk@527 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-17 15:01:12 +00:00
Adrian Holovaty bdcea2e6ca Fixed #118 -- Renamed 'flat files' to 'flat pages' in the admin. Didn't rename it in the Python code, because too many things would break.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@477 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10 21:46:40 +00:00
Adrian Holovaty 4f00611f74 Fixed #211 -- edit_inline_type is deprecated, in favor of edit_inline itself. For example, instead of 'edit_inline=True, edit_inline_type=meta.TABULAR', use 'edit_inline=meta.TABULAR'.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@440 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-09 21:08:00 +00:00
Adrian Holovaty 67bb1bc701 Added explicit note to docs/tutorial02.txt that you should edit TEMPLATE_DIRS in the *admin* settings file if you want to change admin template directories
git-svn-id: http://code.djangoproject.com/svn/django/trunk@425 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-07 01:00:58 +00:00
Adrian Holovaty f14c98e44c Fixed #203 -- Added explicit comma to tutorial 2. Thanks, sirpete@iki.fi
git-svn-id: http://code.djangoproject.com/svn/django/trunk@315 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-26 14:41:13 +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 c21f6ecee2 Fixed #92 -- meta.Admin 'fields' parameter is now optional. If it's not given, Django will use all editable fields by default. This cuts down on redundancy. Also updated relevant docs to reflect the change.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@265 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 03:46:16 +00:00
Adrian Holovaty d330be0169 Added 'django-admin createsuperuser' and updated tutorial to use it instead of manually creating the user in the Python interactive prompt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@261 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 02:17:45 +00:00
Jacob Kaplan-Moss e5a8c38fa1 Added "philosophy" sections to tutorials so they can be styled differently
git-svn-id: http://code.djangoproject.com/svn/django/trunk@250 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20 20:10:35 +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 c97d93ed56 Added note to tutorial02 on how to stop the development server on Unix vs. Windows
git-svn-id: http://code.djangoproject.com/svn/django/trunk@219 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 19:58:19 +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
Adrian Holovaty 00f54d6cf6 Added scary warning about not using the development server in production environments
git-svn-id: http://code.djangoproject.com/svn/django/trunk@188 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 23:22:07 +00:00
Adrian Holovaty b55b29c891 Changed tutorial2 to use 'django-admin runserver' instead of mod_python. Also updated WSGI mentions in the docs, now that we're WSGI-friendly.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@187 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 23:14:48 +00:00
Adrian Holovaty a7237aafac Fixed #71 -- Changed default admin base_site template to use example.com instead of mysite.com. Thanks, pb@e-scribe.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@183 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 20:43:57 +00:00
Adrian Holovaty 32e9209dd9 Fixed #68 -- Changed reference to deprecated mod_python config in tutorial 2. Thanks, pb@e-scribe.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@176 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 18:10:41 +00:00
Adrian Holovaty fe8ca41e63 Fixed #57 -- Added some more helpful mod_python information to tutorial 2 -- thanks, Manuzhai!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@172 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 13:57:25 +00:00
Adrian Holovaty 0b62adddb2 Linked tutorial 2 to the admin CSS guide
git-svn-id: http://code.djangoproject.com/svn/django/trunk@144 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 06:30:31 +00:00
Adrian Holovaty c9cc6f87f9 Finished tutorial02 and added a link to it from tutorial01
git-svn-id: http://code.djangoproject.com/svn/django/trunk@142 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 06:11:33 +00:00
Adrian Holovaty 7ade767819 Tiny tweaks to tutorial02.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@141 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 05:54:43 +00:00
Adrian Holovaty 069bd054fd Fixed small formatting errors in [139]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@140 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 05:53:34 +00:00
Adrian Holovaty 081f2f8c8d Added 'Customize the admin change list' section to docs/tutorial02.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@139 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 05:52:07 +00:00
Adrian Holovaty 5162e4745f Fixed the inevitable ReST bug in [137]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@138 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 05:22:48 +00:00
Adrian Holovaty af86b4e4b1 Added 'Adding related objects' section to docs/tutorial02.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@137 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 05:21:19 +00:00