Commit Graph

1274 Commits

Author SHA1 Message Date
Russell Keith-Magee 2d6d20def7 Fixed #4459 -- Added 'raw' argument to save method, to override any pre-save processing, and modified serializers to use a raw-save. This enables serialization of DateFields with auto_now/auto_now_add. Also modified serializers to invoke save() directly on the model baseclass, to avoid any (potentially order-dependent, data modifying) behavior in a custom save() method.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5658 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 07:45:35 +00:00
Adrian Holovaty 090aa5210e Improved syndication feed framework to use RequestSite if the sites framework is not installed -- i.e., the sites framework is no longer required to use the syndication feed framework. This is backwards incompatible if anybody has subclassed Feed and overridden __init__(), because the second parameter is now expected to be an HttpRequest object instead of request.path
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5654 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 05:29:32 +00:00
Adrian Holovaty dcd5750d7a Added RequestSite class to sites framework
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5653 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 05:28:04 +00:00
Adrian Holovaty 8c4cc32352 Edited changes to docs/tutorial04.txt from [5649]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5651 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 04:44:45 +00:00
Adrian Holovaty 0c5d001531 Added 'New in Django development version' note to docs/syndication_feeds.txt changes from [5643]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5650 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 04:43:29 +00:00
Jacob Kaplan-Moss 74fe707e04 Fixed #4615: corrected reverse URL resolution examples in tutorial 4. Thanks for the patch, simeonf.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5649 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 00:33:44 +00:00
Malcolm Tredinnick 86640f33c1 Fixed #3760 -- Added the ability to manually set feed- and item-level id
elements in Atom feeds. This is fully backwards compatible. Based on a patch
from spark343@cs.ubc.ca.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5643 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-10 12:33:55 +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
Gary Wilson Jr 0be6d32c24 Fixed #4817 -- Removed leading forward slashes from some urlconf examples in the documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5638 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-10 02:34:42 +00:00
Malcolm Tredinnick 79e914e496 Added CACHE_MIDDLEWARE_SECONDS to global settings and documentation (it's
used by the cache middleware). Refs #1015.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5618 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-05 11:08:40 +00:00
Malcolm Tredinnick 7c35eee103 Form encoding should be changed only via HttpRequest, not on GET and POST
directly. 


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5614 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-05 01:25:05 +00:00
Malcolm Tredinnick e7427cb22f Fixed some ReST errors.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5612 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-04 12:48:12 +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 4c958b15b2 Converted some tabs to four spaces in two docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5600 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-03 19:26:34 +00:00
Adrian Holovaty 3d6785fb8e Fixed tabs -> spaces in [5598]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5599 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-03 19:21:33 +00:00
Adrian Holovaty 107dd89385 Fixed an error in a RequestContext example in docs/templates_python.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5598 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-03 19:20:56 +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 3336bd5c3d Made docs/contributing.txt docs style guidelines notes more consistent. The section after the dash is always a full sentence
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5569 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 21:29:42 +00:00
Adrian Holovaty b60442f32a Added 'subclass' to docs/contributing.txt docs style guidelines
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5568 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 21:28:13 +00:00
Adrian Holovaty cf4e74a56d Lowercased 'Realize' in docs/contributing.txt to fix potential ambiguity
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5567 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 21:26:42 +00:00
Adrian Holovaty 64f20046f1 Edited docs/db-api.txt changes from [5555]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5566 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 21:25:10 +00:00
Adrian Holovaty 6e1385b862 Added database name style to docs/contributing.txt documentation style section
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5565 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 21:24:56 +00:00
Adrian Holovaty 353110075b Added 'Documentation style' section to docs/contributing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5564 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 21:20:44 +00:00
Adrian Holovaty 23a50aa491 Edited docs/email.txt changes from [5550]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5563 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 21:20:25 +00:00
Adrian Holovaty b67a2feebf Edited docs/email.txt changes from [5548]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5562 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 21:06:47 +00:00
Adrian Holovaty 918738919e Edited docs/email.txt changes from [5547]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5561 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 21:03:41 +00:00
Adrian Holovaty 8cea4c7c5e Fixed some awkward wordings from docs/model-api.txt from [5519] and added 'new in Django development version' notes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5560 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 20:58:36 +00:00
Jacob Kaplan-Moss a9807db552 Fixed #4712: added mention of Oracle in docs from [5555]. Thanks, Tom.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5556 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-27 19:16:05 +00:00
Jacob Kaplan-Moss 24512a74be Fixed #1465: added support for regex lookups. Thanks, Tom Tobin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5555 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-27 18:58:10 +00:00
Malcolm Tredinnick 26659f2782 Typo fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5552 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-27 12:44:29 +00:00
Malcolm Tredinnick d605611bc5 Removed some duplication. I suck at documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5551 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-27 12:43:28 +00:00
Malcolm Tredinnick 987f8aa257 Fixed #3985 -- Added support for custom email headers.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5550 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-27 12:41:37 +00:00
Malcolm Tredinnick bcb088b558 Trivial edit to docs from [5548].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-27 12:19:21 +00:00
Malcolm Tredinnick 719a90391d Added support for creating multipart/alternative email messages. Also allow
tweaking of main body MIME subtype for brave people. Fixed #3605.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5548 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-27 12:18:05 +00:00
Malcolm Tredinnick 2d082a34dc Fixed #1541 -- Added ability to create multipart email messages. Thanks, Nick
Lane.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5547 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-27 09:44:55 +00:00
Malcolm Tredinnick 621db31c3a Fixed #4684 -- Added an Oracle reference to the supported database servers.
Thanks, nick@efford.org.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5542 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-26 12:53:33 +00:00
Malcolm Tredinnick 85f6f15263 Fixed #4668, #4669, #4670, #4671 -- Fixed a group of ReST markup errors. Thanks, Richard House.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5537 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-25 16:11:32 +00:00
Malcolm Tredinnick ac64e91a0c Merged boulder-oracle-sprint branch (r3965:5512) back into trunk. All
expected tests pass for all databases.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5519 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-23 14:16:00 +00:00
Malcolm Tredinnick 284c6ba44b Fixed #4657 -- Fixed an error in an edge case of the urlizetrunc filter.
Thanks, SmileyChris.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5513 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-23 03:10:32 +00:00
Malcolm Tredinnick 880e3cfaa6 Backed out the changes in [5482] for a bit whilst some more investigation into
side-effects is done. Refs #4565.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5511 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-22 07:15:04 +00:00
Adrian Holovaty dbebf54d6c Fixed #4648 -- Fixed awkward wording in docs/newforms.txt. Thanks, jim-django@dsdd.org
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5506 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-21 16:05:23 +00:00
Adrian Holovaty 042d7e44fa Fixed #4637 -- Fixed broken link in docs/model-api.txt. Thanks, john.scott.atlakson@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5505 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-20 19:39:24 +00:00
Adrian Holovaty 7c3fa24fad Fixed #4638 -- Fixed typo in docs/model-api.txt. Thanks, john.scott.atlakson@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5504 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-20 19:38:19 +00:00
Adrian Holovaty 024c3daa11 Fixed #4537 -- Added note to docs/install.txt about get_python_lib() shortcut. Thanks, Carl Karsten
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5503 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-20 06:23:15 +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 a65c458b99 Fixed #4610 -- Made docs/install.txt a bit clearer about skipping the Apache installation. Thanks, James
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5495 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-20 06:03:51 +00:00
Luke Plant b6b1ab22b5 Updated documentation for User.objects.make_random_password, fixing
punctuation at the same time.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5490 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-18 10:02:58 +00:00
Malcolm Tredinnick bccb8897e6 Fixed #4565 -- Changed template rendering to use iterators, rather than
creating large strings, as much as possible. This is all backwards compatible.
Thanks, Brian Harring.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5482 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-17 07:11:37 +00:00
Malcolm Tredinnick 88632cd7f9 Fixed #4547 -- Included a fix missed in [5468].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5469 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-15 00:07:03 +00:00
Malcolm Tredinnick 1e57d6ccf0 Fixed #4547 -- Trivial typo fixing time. Thanks, Grant Kelly.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5468 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-13 02:22:26 +00:00