Commit Graph

1827 Commits

Author SHA1 Message Date
Jacob Kaplan-Moss 45404bea18 Fixed a few typos in upload handling docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7827 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-02 20:34:29 +00:00
James Bennett b0a38160ca Fix a small typo in docs/upload_handling.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7816 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-01 16:37:28 +00:00
Jacob Kaplan-Moss d725cc9734 Fixed #2070: refactored Django's file upload capabilities.
A description of the new features can be found in the new [http://www.djangoproject.com/documentation/upload_handing/ upload handling documentation]; the executive summary is that Django will now happily handle uploads of large files without issues.

This changes the representation of uploaded files from dictionaries to bona fide objects; see BackwardsIncompatibleChanges for details.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7814 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-01 15:10:51 +00:00
Malcolm Tredinnick ef76102e89 Fixed #7185 -- Added a "ping_google" management command to
django.contrib.sitemaps. Thanks, Pete Shinners.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7813 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-01 12:25:59 +00:00
Malcolm Tredinnick a75de3f342 Changed a documentation example that wasn't wrong to stop complaints.
Fixed #7544.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7811 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-01 02:17:24 +00:00
Malcolm Tredinnick 4b93eed185 Fixed #4081 -- Allow empty content in flatpages.
Patch from ctrochalakis and Matt Croydon.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7807 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-30 13:05:47 +00:00
Russell Keith-Magee 415bd694f9 Fixed #7521 -- Added the ability to customize ROOT_URLCONF for the duration of a TestCase. Thanks to Mark Fargas (telenieko) for his work on this patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7805 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-30 12:34:29 +00:00
Malcolm Tredinnick 61898d8627 Fixed #6612 -- Updated Apache auth recipe for Apache 2.2. Thanks, trbs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7804 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-30 12:25:03 +00:00
Malcolm Tredinnick 6d5c868e86 Fixed #7543 -- Typo fix. Thanks, James Turnbull.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7792 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-30 06:42:50 +00:00
Malcolm Tredinnick 5da47e43c7 Fixed #7314 -- Changed the way extra() bits are handled when QuerySets are merged.
Also added a section to the documentation to indicate why it's probably not a
good idea to rely on this feature for complex stuff. Garbage in, garbage out
applies even to Django code.

Thanks to erik for the test case for this one.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7791 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-30 06:24:21 +00:00
Adrian Holovaty 82d09948ae Fixed #7482 -- Fixed an awkward wording in docs/model-api.txt. Thanks, cbmeeks <cbmeeks@gmail.com>
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7757 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-26 05:21:29 +00:00
Adrian Holovaty 74f0408fa2 Fixed #6201 -- Improved the {% cache %} template tag to allow the timeout to be a template variable. Inspired by the patch by zz and edrik
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7754 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-26 04:54:10 +00:00
Adrian Holovaty 65437a95e1 Improved our tests so that they don't raise an error if setuptools isn't installed, hence ridding the test suite of all dependencies. Also updated docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7751 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-26 04:25:40 +00:00
Adrian Holovaty 31ee551057 Various documentation edits
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7745 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-26 03:59:15 +00:00
Russell Keith-Magee dce557b9e7 Fixed #6891 -- Clarified modelform usage documentation. Thanks to Eric Holscher for the suggestion.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7728 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-23 12:57:11 +00:00
Russell Keith-Magee 5fc7dd7d28 Removed some cruft from the [7718] checkin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7719 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-21 05:26:12 +00:00
Russell Keith-Magee 5e4e04befb Fixed #7513 -- Added a note on the dependencies that need to be installed when running the Django system tests. Thanks to Peter Melvyn for the original report, and Ramiro Morales for the original draft.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7718 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-21 05:20:42 +00:00
Russell Keith-Magee d9c3e0a36a Fixed a minor typo in some sample SQL. Thanks for the report, Glen Jarvis <glenjarvis.com@gmail.com>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7717 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-21 04:43:05 +00:00
Luke Plant 5efb9652d7 Added docs about urls.py and testing views for contrib apps
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7715 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-20 17:18:58 +00:00
Luke Plant ddcf51a0ba Updated information about unit tests, contrib apps in particular.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7714 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-20 15:34:51 +00:00
Luke Plant 9cf3048b08 Fixed #3774 - primary_key=True does not, in fact, imply blank=False
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7713 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-20 12:10:13 +00:00
Russell Keith-Magee 090aeee399 Fixed #6719 -- Added a --traceback option to syncdb to provide a stack trace when custom SQL loading fails. Also added documentation for the --traceback option. Thanks to guettli for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7704 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-19 13:24:39 +00:00
Russell Keith-Magee a7f6faaa81 Fixed #7059 -- Added a note to the settings documentation reminding users that when DEBUG=True, Django keeps a log of queries. Thanks for the suggestion, simonb.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7702 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-19 12:13:43 +00:00
Gary Wilson Jr f410de010d Refs #7216 -- Corrected typo, removed comma, trimmed trailing whitespace, and fixed reST link in [7678].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7681 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-17 15:46:59 +00:00
Russell Keith-Magee 6d242ccc63 Fixed #7216 -- Added a description on how to use named URLs with a permalink. Thanks, masklinn.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7678 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-17 13:56:10 +00:00
Russell Keith-Magee cd0f7b9a39 Fixed #7200 -- Added newforms documentation for the FloatField. Thanks, George Vilches.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7677 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-17 13:47:17 +00:00
Russell Keith-Magee c6f277f972 Fixed #7174 -- Corrected the default setting for TEMPLATE_LOADERS described in the settings docs. Thanks, pbx.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-17 13:37:31 +00:00
Russell Keith-Magee b3653db4f0 Fixed #7292 -- Removed reference to form_for_model in the form_preview docs. Thanks to programmerq for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7675 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-17 11:22:03 +00:00
Russell Keith-Magee e4fc327890 Fixed #7470 -- Corrected typo in template docs. Thanks to cbmeeks@gmail.com for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7674 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-17 11:19:08 +00:00
Adrian Holovaty 3859314d4a Fixed #6944 -- Fixed a small typo in docs/model-api.txt. Thanks, julien
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7656 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-16 04:04:24 +00:00
Adrian Holovaty 96b1d0f966 Fixed #6830 -- Changed the docs/tutorial01.txt reference to the IRC channel to lower the expectation slightly on how much help you'll receive
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7655 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-16 04:03:25 +00:00
Adrian Holovaty d339b2b65e Fixed #6777 -- Made some text in docs/sessions.txt into internal links. Thanks, ramiro
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7654 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-16 04:01:33 +00:00
Adrian Holovaty fbeec87b62 Fixed #6993 -- Fixed a grammar error in docs/templates.txt. Thanks, Ionut Ciocirlan
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7649 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-16 03:38:43 +00:00
Adrian Holovaty 1b92483ae5 Fixed #6980 -- Removed duplicate stuff in docs/django-admin.txt. Thanks, Evan Jones
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7648 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-16 03:37:57 +00:00
Adrian Holovaty 167409e24e Fixed #6898 -- Fixed some typos in docs/templates_python.txt. Thanks, djoume
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7647 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-16 03:35:50 +00:00
Russell Keith-Magee 42668dcc79 Fixed some stale documentation that was advising against the use of OneToOneFields. Post queryset refactor, that warning is no longer required.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7633 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-14 14:19:28 +00:00
Russell Keith-Magee 363e46b22c Fixed #6320 -- Clarified a few issues in the contribution docs surrounding the triage process. Thanks to telenieko, Edgars Jekabsons and Marc Fargas for their input.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7632 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-14 13:44:49 +00:00
Russell Keith-Magee b9113ca81f Fixed #7327 -- Added documentation and test case for defining subqueries. Thanks, Sebastian Noack.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7625 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-12 13:19:37 +00:00
Adrian Holovaty 0fd41d63e2 Fixed #7194 -- Fixed typo in django-admin.txt. Thanks, jhlywa
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7621 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-12 03:56:41 +00:00
Adrian Holovaty daab1f0681 Various documentation edits from the past few changesets
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7619 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-12 03:36:48 +00:00
Russell Keith-Magee 9c50495464 Fixed #7254 -- Added an '--exclude' option to dumpdata, allowing specific applications to be removed from the dump output. Thanks to Carl Karsten for the idea and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7615 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-11 14:01:35 +00:00
James Bennett 5e202f5acf Fixed #7397: corrected order of command names in docs/django-admin.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7614 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-11 04:34:03 +00:00
Russell Keith-Magee 88a6fa5a07 Fixed some linking errors in the FAQ.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7602 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-10 02:52:16 +00:00
Russell Keith-Magee 12716794db Fixed #7350, #7202 -- Fixed serialization for multi-model inheritance, which had multiple problems:
* Serializers were including all superclass fields in their output. Now only local fields are included.
 * Implicit OneToOne primary keys were not correctly added to the metamodel, so they were always marked to be serialized, even though they were primary
 * Model saving was too aggressive about creating new parent class instances during deserialization. Raw save on a model now skips saving of the parent class.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7600 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-09 14:03:35 +00:00
Jacob Kaplan-Moss 1426c24517 Added a note about manage.py createsuperuser requiring django.contrib.auth. Thanks, Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7599 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-08 18:38:36 +00:00
James Bennett 8198bfecee Move "createsuperuser" docs down one slot to maintain alphabetical ordering of commands
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7594 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-08 07:24:00 +00:00
James Bennett 87c2423d34 Add documentation for the creatsuperuser target (added in [7590]) to doc/django-admin.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7593 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-08 07:23:05 +00:00
Russell Keith-Magee 8df7ac93a1 Added some new entries to the FAQ regarding the mailing lists and reporting security issues.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7592 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-08 05:53:22 +00:00
Jacob Kaplan-Moss 5675ae4443 Fixed #5614: added 'manage.py createsuperuser'. Thanks, programmerq.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7590 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-08 05:31:16 +00:00
Jacob Kaplan-Moss 8d4f79a799 Fixed #2548: added get/set_expiry methods to session objects. Thanks, Amit Upadhyay and SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7586 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-07 20:28:06 +00:00
Russell Keith-Magee 5b9d907ae8 Fixed #7382 -- Added a reference to Pisa HTML2PDF in the PDF output docs. Thanks for the suggestion, perenzo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7582 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-06 15:27:21 +00:00
Russell Keith-Magee 08401959d8 Fixed #7165 -- Added an assertNotContains() method to the test client. Thanks for the suggestion and implementation, J. Pablo Fernandez <pupeno@pupeno.com>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7578 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-06 13:50:02 +00:00
Russell Keith-Magee 812d8d40bd Fixed #7191 -- Removed leading slashes in description of the patterns that a URLconf checks when GET data is present. Thanks, andrews.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7560 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-05-29 12:02:11 +00:00
Russell Keith-Magee 6b39dd6977 Fixed #7260 -- Corrected the description of the exception returned by get() when multiple objects match the search criteria. Thanks, leotr.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7559 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-05-29 11:56:32 +00:00
James Bennett bd73eaf952 Big glaring warning in docs/flatpages.txt to remind people how response middleware works
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7555 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-05-28 20:31:03 +00:00
Russell Keith-Magee 331768681f Fixed #7300 -- Corrected description of YAML in the serialization docs. Thanks for the report, Allan Douglas <allandouglas@gmail.com>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7548 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-05-24 05:15:21 +00:00
Luke Plant 23e474510a Reverted mistaken r7545
r7545 was a mistake due to not accounting for r7078 
Thanks Ramiro Morales for catching this.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7546 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-05-22 19:24:25 +00:00
Luke Plant 5b33adeafc Fixed documentation of 'description' option of Admin.fields to reflect actual behaviour
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7545 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-05-22 17:34:02 +00:00
Luke Plant 2411a92fad Fixed title underline length
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7538 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-05-17 00:05:13 +00:00
Luke Plant 8c9fceebb1 Added DEBUG_PROPAGATE_EXCEPTIONS setting that helps testing under e.g. twill
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7537 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-05-16 23:24:36 +00:00
Adrian Holovaty 1dee309198 Added 'Setting headers' and 'Telling the browser to treat the response as a file attachment' sections to docs/request_response.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7510 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-30 00:03:45 +00:00
Malcolm Tredinnick a97f690e5d Added the ability to pickle and unpickle QuerySets and Query classes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7499 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-28 14:14:41 +00:00
Adrian Holovaty 6d98636018 Edited some docs/db-api.txt changes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7489 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-28 00:59:09 +00:00
Malcolm Tredinnick f0bc9426b4 Made a bunch of spelling corrections.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7480 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-27 11:55:47 +00:00
Malcolm Tredinnick 9c52d56f6f Merged the queryset-refactor branch into trunk.
This is a big internal change, but mostly backwards compatible with existing
code. Also adds a couple of new features.

Fixed #245, #1050, #1656, #1801, #2076, #2091, #2150, #2253, #2306, #2400, #2430, #2482, #2496, #2676, #2737, #2874, #2902, #2939, #3037, #3141, #3288, #3440, #3592, #3739, #4088, #4260, #4289, #4306, #4358, #4464, #4510, #4858, #5012, #5020, #5261, #5295, #5321, #5324, #5325, #5555, #5707, #5796, #5817, #5987, #6018, #6074, #6088, #6154, #6177, #6180, #6203, #6658


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7477 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-27 02:50:16 +00:00
James Bennett aad5e791ea Fixed #6982; added an import statement to example in docs/modelforms.txt for the ModelForm class
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7411 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-10 04:05:37 +00:00
Russell Keith-Magee bd3a1c0067 Fixed #6998 -- Corrected typo in Tutorial 4. Thanks, Peter Upfold.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7410 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-10 00:26:12 +00:00
James Bennett 1972f0522a Another typo in docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7409 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-08 06:35:37 +00:00
James Bennett 25c0908ffd Fix a minor typo in docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7408 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-04-08 06:28:50 +00:00
James Bennett 38d30e9691 Fixed #6927: Corrected documentation describing when and why the auth application creates default permissions
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7388 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-30 13:35:12 +00:00
James Bennett 502f0c18b0 Remove an extraneous comma that I left behind in [7386], and clean up the wording a bit more.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7387 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-30 04:23:54 +00:00
James Bennett b8110ed537 Clean up some awkwardness and confusion in the docs for ``ModelChoiceField``
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7386 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-30 04:21:50 +00:00
Gary Wilson Jr a3747f23be Fixed #6890 -- Removed duplicate instruction to rename the `polls/detail.htm` template in tutorial part 4.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7380 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-29 15:48:13 +00:00
Jacob Kaplan-Moss 4c3fcbc4bc [docs] OK, I give up.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7374 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-27 15:14:57 +00:00
Jacob Kaplan-Moss 905b246dad [docs] And even more svn:keywords fooling. Sorry about the timeline spam.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7373 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-27 15:13:05 +00:00
Jacob Kaplan-Moss 95665c403b [docs] Added svn:keywords to docs/index.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7371 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-27 15:05:40 +00:00
Jacob Kaplan-Moss 7dd4be581b Added the basics needed to build Django's docs using [http://sphinx.pocoo.org/ Sphinx]. If you've got Sphinx installed (the latest version) along with [http://docutils.sf.net docutils], you should be able to easily build the docs locally using {{{sphinx-build}}} or the included {{{Makefile}}}. This use a basic (and pretty crappy) index for the documentation and the built-in Sphinx styles (which are actually quite nice).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7370 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-27 15:03:52 +00:00
Jacob Kaplan-Moss d5cb46f412 Tiny reST fix to testing.txt.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7368 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-27 14:15:00 +00:00
Malcolm Tredinnick c30a050e41 Removed the ado_mssql database backend.
It has not been maintained, contains bugs, and improved versions are available
externally(e.g. django-mssql and django-pyodbc at Google code).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7364 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-26 08:25:48 +00:00
Adrian Holovaty 0e552e5cd6 Edited some docs changes from the past few days
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7361 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-25 04:42:21 +00:00
Malcolm Tredinnick a9a70bfe55 Fixed #6859 -- Greatly cleaned up the section on i18n pluralization in
Javascript. With new example code and everything! Thanks, Ramiro Morales.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7357 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-24 13:35:27 +00:00
Malcolm Tredinnick 8f9e7035a9 Changed the indenting level on a couple of subsections, since they're not
children of the "pk lookup shortcut" section.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7338 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-20 12:44:34 +00:00
Malcolm Tredinnick c0537a961f Fixed #6616 -- Added an is_ajax() method to HttpRequest that uses the de facto
standard header for detecting an XmlHttpRequest call. Thanks, Daniel Lindsley.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7334 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-20 07:16:16 +00:00
Malcolm Tredinnick b3b8422363 Fixed #6445 -- Allow model instances to be used as a default for ForeignKeys
(via a callable). Also updates the documentation of the "default" attribute to
indicate a callable can be used. Thanks, Philipe Raoult.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7331 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-20 06:56:23 +00:00
Malcolm Tredinnick 9e47cc2e51 Fixed #5507 -- Use a more portable way to get at the system's tmpdir (fixes a
problem with the default on Windows). Thanks, Philippe Raoult.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7329 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-20 06:43:58 +00:00
Malcolm Tredinnick 6417f5247b Merged the tests and documentation from #4720 to support the changes in [7295].
Thanks, Andy Gayton. Fixed #4720. Refs #5855.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7328 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-20 06:35:53 +00:00
Jacob Kaplan-Moss 649cdf907d Fixed #4620: you can now easily add custom labels to ModelChoiceFields via subclassing. Thanks, PhiR.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7326 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-19 23:10:45 +00:00
Jacob Kaplan-Moss 4457ba002d Fixed #5894: added FilePathField to newforms. Thanks, Alex Gaynor.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7323 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-19 22:29:11 +00:00
James Bennett 7d74376aab Fixed #6659: explained where "forloop.counter" comes from
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7315 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 23:38:59 +00:00
James Bennett 39b1f1dd80 Fixed #6245: Added note about watching Django development when using the development version
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7314 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 23:18:52 +00:00
James Bennett 33d7fbd82d Fixed #4783: Added a note that "admin media" means "media used by the admin app", and that ADMIN_MEDIA_PREFIX and MEDIA_URL should not be the same value.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7312 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 22:36:30 +00:00
Adrian Holovaty edb3381c7a Added docs/pagination.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7311 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 22:36:14 +00:00
Adrian Holovaty 6c06f8f10f Improved docs/generic_views.txt to note the new template context for the object_list generic view
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7309 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 21:58:31 +00:00
James Bennett 855bc7b09d Fixed #6266: Added note to docs/modelforms.txt pointing out that they're just standard forms and have all the same methods as standard forms
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7305 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 21:13:12 +00:00
James Bennett cc083724c1 Fixed #6382: Documented request.urlconf
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7303 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 20:58:39 +00:00
James Bennett 41d101e9ce Fixed #6541: Corrected documentation of how the admin chooses a default manager. Refs #6538.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7302 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 19:55:21 +00:00
James Bennett ebf3cdea73 Fixed #6759: Corrected example of get_db_prep_save() in docs/custom_model_fields.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7301 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 19:13:41 +00:00
James Bennett 57ddcdb0c8 Fixed #6683: corrected some typos in docs/newforms.txt. Thanks PJCrosier for the patch, and Atul Varma for spotting the errors.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7300 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 19:02:24 +00:00
James Bennett df225aee18 Fixed #6166: Improved example of autoescaping with template inheritance. Based on a patch from PJCrosier.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 18:41:52 +00:00
James Bennett 75617ef69f Fixed #6120: First stab at documenting newforms field types which handle relationships.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7298 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-18 18:20:45 +00:00