Commit Graph

118 Commits

Author SHA1 Message Date
Jacob Kaplan-Moss 7af62f48e3 Added note about using different settings modules in the same virtual host
(thanks steadicat).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@277 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 17:37:36 +00:00
Adrian Holovaty 52d761cc7a Fixed #135 -- Added 'Multiple Django installations on the same Apache' to docs/mod_python.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@275 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 15:40:33 +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
Adrian Holovaty 0500321a4b Added 'Serving media files' to docs/modpython.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@260 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 01:48:59 +00:00
Adrian Holovaty 903920a3d2 Fixed #103 -- Changed docs/install.txt to note there is no official version yet
git-svn-id: http://code.djangoproject.com/svn/django/trunk@258 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 01:33:13 +00:00
Adrian Holovaty bc5359f754 Added optional rel_name parameter to ManyToManyField, which makes it possible to many-to-many-relate a single model to another model more than once. Also updated the model docs to reflect this
git-svn-id: http://code.djangoproject.com/svn/django/trunk@257 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20 22:55:01 +00:00
Jacob Kaplan-Moss d9656947db Fixed #123 -- thanks jay!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@255 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20 21:41:43 +00:00
Jacob Kaplan-Moss 65bed3241d Added note about ForeignKey("self"); fixes #100
git-svn-id: http://code.djangoproject.com/svn/django/trunk@254 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20 21:24:03 +00:00
Adrian Holovaty 10ace9a124 Added clarification about 'django-admin.py sqlclear' to docs/tutorial01
git-svn-id: http://code.djangoproject.com/svn/django/trunk@253 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20 21:01:47 +00:00
Jacob Kaplan-Moss 99a75541fd Fixed small problem in [250]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@251 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20 20:12:29 +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 039d121227 Added 'How can I customize the functionality of the admin interface?' to FAQ
git-svn-id: http://code.djangoproject.com/svn/django/trunk@237 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20 01:34:08 +00:00
Adrian Holovaty a881193693 Fixed typos and tightened up docs/url_dispatch.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@236 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20 01:16:51 +00:00
Adrian Holovaty 76633e5499 Fixed inevitable ReST bug in [224]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@226 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 20:58:16 +00:00
Adrian Holovaty 9581c9ed96 Added better description of SlugField
git-svn-id: http://code.djangoproject.com/svn/django/trunk@225 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 20:51:00 +00:00
Adrian Holovaty b0e1a1dda8 Changed docs/cache to add docs for site-wide caching, via the cache middleware
git-svn-id: http://code.djangoproject.com/svn/django/trunk@224 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 20:49:07 +00:00
Adrian Holovaty 12321ea962 Added 'Running a development server with mod_python' to docs/modpython.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@223 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 20:20:38 +00:00
Adrian Holovaty 3148adf91d Added note about 'PythonDebug Off' to docs/modpython.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@222 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 20:08:17 +00:00
Adrian Holovaty 1dfc375e35 Added some more to docs/modpython.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@221 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 20:05:52 +00:00
Adrian Holovaty 21f152e9e5 Removed redundant word from docs/modpython.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@220 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 20:01:49 +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 c9f90060a5 Added 'How can I see the raw SQL queries Django is running?' to the FAQ
git-svn-id: http://code.djangoproject.com/svn/django/trunk@218 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 19:55:31 +00:00
Adrian Holovaty 3ad2a774a7 Added 'How to use Django with mod_python' -- docs/modpython.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@217 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 19:55:18 +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 df66763406 Fixed #67 -- Human-readable name is now optional in model fields. If a second positional argument isn't given, Django will use the first argument, converting underscores to spaces. This change is fully backwards-compatible.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@212 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 17:20:37 +00:00
Adrian Holovaty e243d82874 Fixed ReST formatting bug in db-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@211 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 15:44:04 +00:00
Wilson Miner b68f26e42d Added screenshots to admin css docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@210 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 15:39:15 +00:00
Wilson Miner 0bb0ad8d43 Fixed error in instructions for form labels.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@209 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 15:31:05 +00:00
Adrian Holovaty 5797066383 Added support for istartswith and iendswith in database API
git-svn-id: http://code.djangoproject.com/svn/django/trunk@207 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 15:24:03 +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
Adrian Holovaty 73ea27ccb0 Fixed bug in [191]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@192 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 03:06:28 +00:00
Adrian Holovaty 2363af5782 Fixed #54 -- Corrected typos in urlconfs in docs/overview. Thanks, james!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@191 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-19 02:22:11 +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 34f749e506 Fixed #52 -- Corrected and clarified some things in docs/model-api. Thanks, Dobbes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@184 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 20:53:02 +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 0944653673 Added link to compiled Windows psycopg in docs/install.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@177 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 18:47:55 +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 fbfa3d603e Improved docs/install.txt to say you don't have to run 'setup.py install' if you're using SVN. Thanks, dp_wiz
git-svn-id: http://code.djangoproject.com/svn/django/trunk@173 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 14:03:56 +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