Commit Graph

3607 Commits

Author SHA1 Message Date
Russell Keith-Magee 71cb907131 Fixed minor typo in assertion message.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5620 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-05 12:54:42 +00:00
Malcolm Tredinnick 05de381512 Fixed #1015 -- Fixed decorator_from_middleware to return a real decorator even
when arguments are given. This looks a bit ugly, but it's fully backwards
compatible and all the extra work is done at import time, so it shouldn't have
any real performance impact.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5619 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-05 11:10:27 +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 d0b627acc2 Added a test that shows the problem in #4470. This fails only for the mysql_old
backend. Refs #4470.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5617 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-05 10:27:22 +00:00
Malcolm Tredinnick d2c45bacd2 Fixed #4753 -- Updated Spanish translation. Also move translators' names out of
PO file and into AUTHORS.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5616 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-05 03:29:18 +00:00
Malcolm Tredinnick 72f45dfe22 Fixed #4717 -- Updated Catalan translation. Thanks, marc.garcia@accopensys.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5615 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-05 03:25:11 +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 fbd9381802 Fixed #4766 -- Added Russian support to Javascript slug creation. Thanks,
boobsd@gmail.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5611 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-04 12:31:19 +00:00
Malcolm Tredinnick f0250b64f6 Fixed Javascript syntax from [5608] that was causing a problem in Opera. Fixed
#4365.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5610 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-04 12:25:43 +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 c7b49792f4 Fixed #4685 -- 'View on site' now works for https URLs. Thanks, cbrand@redback.com, treborhudson@gmail.com, Jeff Hilyard
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5594 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-03 15:11:49 +00:00
Adrian Holovaty ee7fe94d45 Fixed #4688 -- startproject no longer breaks when Django files are read-only. Thanks, tstromberg@google.com and Google guys
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5593 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-03 15:09:05 +00:00
Adrian Holovaty f9a592d99d Fixed #4729 -- SessionWrapper.pop now sets modified flag if necessary. Thanks, Ben Slavin, SmileyChris and Collin Grady
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5592 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-03 15:02:40 +00:00
Malcolm Tredinnick 179f478ffe Fixed #4751 -- Fixed that AnonymousUser.__str__ to always return a string
object, as required by Python.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5590 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-03 12:24:46 +00:00
Malcolm Tredinnick 1b1379a182 Backported the fix from [5581] (unicode-branch) to trunk. Fixes a method
resolution order problem when setting email headers.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5582 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-01 06:32:34 +00:00
Malcolm Tredinnick 3a892122f2 Made the reg-exp lookup tests more robust. they now pass for all database
backends and are not dependent on locale sorting order.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5579 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-01 04:47:46 +00:00
Adrian Holovaty acf0ff02e7 Added some clearer docstrings to MultiValueField and MultiWidget
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5575 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-01 04:24:20 +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
Malcolm Tredinnick 4fdbd7e3a2 Added empty djangojs.po files to locales who did not already have one.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5559 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-28 07:41:44 +00:00
Malcolm Tredinnick 88f2fdf94d Fixed #4703 -- Updated Romanian translation. Thanks, tibimicu@gmax.net.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5558 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-28 06:56:00 +00:00
Russell Keith-Magee 4a892f4d86 Fixed #4689 -- Added some missing methods to the dummy backend. Thanks for the report, Forest Bond.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5557 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-28 02:52:54 +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 7dc8b1a1a8 Added a parameter to HttpResponse's constructor to enable explicit status code
setting. This will save us from being asked to add a subclass for every
possible HTTP status code.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5554 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-27 13:02:38 +00:00
Malcolm Tredinnick eeb4ffc2c1 Fixed #2007 -- Added support for configurable encoding of email message bodies.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5553 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-27 12:54:15 +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 551a36131e Fixed #4693 -- Updated Japanese translation. Thanks, Makoto Tsuyuki.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5545 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-26 13:05:03 +00:00
Malcolm Tredinnick 4ac1de31cd Fixed #4686 -- Do not permit empty strings in IPAddressField. Should be fully
backwards compatible, but fixes an Oracle subtlety. Thanks, Ian Kelly.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5544 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-26 12:59:49 +00:00
Malcolm Tredinnick fedcabea9e Added Oracle to the list of permitted DATABASE_ENGINE settings (and removed
ado_msql, since we don't have a working backend for that at the moment).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5543 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-26 12:58:42 +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 20e00560d6 Fixed #4683 -- Updated Catalan translations from Marc Fargas.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-25 16:26:25 +00:00