0
0
mirror of https://github.com/django/django.git synced 2024-11-29 22:56:46 +01:00
Commit Graph

138 Commits

Author SHA1 Message Date
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
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
7d574e8f76 Removed 'use_numeric_months' parameter in generic date views (from [308]) in favor of something more powerful -- you can now provide month_format and day_format, which are format strings that specify how you expect the month and day to be formatted in the URL.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@312 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-26 03:48:41 +00:00
Jacob Kaplan-Moss
5498dbe519 Fixed #196: date-based generic views now have a "use_numeric_months" option if you'd like to use numeric months in the urls. Also fixed #183 while I was at it.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@308 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-25 22:07:04 +00:00
Adrian Holovaty
f6c4395329 Copy-edited docs from [303] and [304]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@306 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-25 17:18:39 +00:00
Adrian Holovaty
1c947e50c9 Cleaned up FAQ changes from [303]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@305 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-25 16:46:52 +00:00
Jacob Kaplan-Moss
371144f134 A bunch of generics: documentation of generic views; cleaned up existing generic views, and added create/update generic views.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@304 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-24 22:21:09 +00:00
Jacob Kaplan-Moss
8bd30b01e4 Added formfields/manipulators docs; added a few notes to the FAQ
git-svn-id: http://code.djangoproject.com/svn/django/trunk@303 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-24 19:02:22 +00:00
Adrian Holovaty
4ab1e196c4 Fixed #169 -- Thanks, django@gimbo.org.uk
git-svn-id: http://code.djangoproject.com/svn/django/trunk@301 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-23 15:47:06 +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
e320a0936e Added sqlite3 database backend -- somewhat tested, but probably not 100% perfect.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@288 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-22 03:15:43 +00:00
Adrian Holovaty
9c3c0bed33 Fixed typos in docs/url_dispatch from [282]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@286 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 19:45:36 +00:00
Adrian Holovaty
f8e5df6d7e Fixed spelling error and reworded mod_python PythonInterpreter section of docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@285 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 19:42:51 +00:00
Jacob Kaplan-Moss
8b58f8b3ae Fixed #141 -- thanks sdelatorre@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@284 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 19:19:01 +00:00
Jacob Kaplan-Moss
18749c0060 Rolled a number of comments into documentation; thanks to all those who contributed.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@283 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 19:05:10 +00:00
Jacob Kaplan-Moss
96d69c5b5f Updated url dispatch docs to make it more clear that the prefix need not end in a dot
git-svn-id: http://code.djangoproject.com/svn/django/trunk@282 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 18:12:29 +00:00
Jacob Kaplan-Moss
df6feb54f2 Rolled comments on faq into the FAQ
git-svn-id: http://code.djangoproject.com/svn/django/trunk@281 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 18:03:25 +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
Jacob Kaplan-Moss
2dfea67e34 No, [278] missed the actual bug; this should fix it
git-svn-id: http://code.djangoproject.com/svn/django/trunk@279 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 17:39:11 +00:00
Jacob Kaplan-Moss
8a285ec790 Fixed ReST bug in [277]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@278 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 17:38:28 +00:00
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