Commit Graph

3396 Commits

Author SHA1 Message Date
Malcolm Tredinnick 6b88d4abd0 Fixed #4673 -- Fixed error reporting bug from [5516]. Also changed the timing
for populating the reverse cache, since that may have been happening too early.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5520 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-24 09:38:30 +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 553a20075e Fixed #4527 -- Changed the way errors are displayed in Form.as_p() to avoid
invalid XHTML constructs. Based on a patch from SmileyChris.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5518 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-23 06:19:26 +00:00
Malcolm Tredinnick fc20eeec47 Fixed a Python 2.3 incompatibility I overlooked in [5516].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5517 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-23 06:02:17 +00:00
Malcolm Tredinnick 5f5f1d913b Fixed #4566 -- Added caching speed-ups to reverse URL matching. Based on a
patch from smoo.master@gmail.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5516 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-23 05:40:28 +00:00
Malcolm Tredinnick dfea6bdfa5 Fixed #4630 -- Fixed some validation problems with SplitDateTimeField. Thanks
glin@seznam.cz and SmileyChris.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5515 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-23 03:32:59 +00:00
Malcolm Tredinnick 08aa5c585b Fixed #4607 -- Tweaked checks for features missing in Python 2.3 to not assume
things Python does not guarantee. Patch from SmileyChris.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5514 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-23 03:18:22 +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 761c0a49e4 Fixed #4549 -- WSGI server now sets mime type correctly for admin media content. Thanks, Stefane Fermgier
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5502 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-20 06:16:56 +00:00
Adrian Holovaty 903c561294 Added glin@seznam.cz to AUTHORS (from [5500])
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5501 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-20 06:13:24 +00:00
Adrian Holovaty 11a8084d4f Fixed #4556 -- Admin showAddAnotherPopup JavaScript function can now handle URLs with GET attributes. Thanks for the patch, glin@seznam.cz
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5500 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-20 06:12:43 +00:00
Adrian Holovaty bb5734ee30 Fixed #4584 -- Fixed improper </div> nesting in databrowse object_detail.html template.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5497 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-20 06:08:47 +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
Adrian Holovaty 13216e12dd Fixed #4618 -- Fixed error in django.contrib.redirects new_path handling. Thanks, cephelo@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5494 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-20 06:01:16 +00:00
Luke Plant 18619a11ee Fixed behaviour of contrib.auth.forms.PasswordResetForm when more than
one User have the same e-mail address.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5493 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-19 20:04:54 +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 b0fa08b9e0 Trivial formatting changes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5486 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-17 09:46:04 +00:00
Malcolm Tredinnick cc0c7fa6cd Fixed #4576 -- Updated Swedish translation. Thanks, Ludvig Ericson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5485 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-17 08:11:38 +00:00
Malcolm Tredinnick 2a34fbe043 Fixed #4506 -- Changed "regroup" template tag to use __eq__ instead of repr()
for grouping equality checking. Thanks, Brian Harring.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5484 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-17 07:33:18 +00:00
Malcolm Tredinnick 9b397ee50d Changed ETag computation to first check if an ETag header already exists in the
response.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5483 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-17 07:21:09 +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 44dd91ec6d Fixed #4015 -- Changed login() and logout() messages to update request.user if
it is relevant. Thanks James Bennett, Vinay Sajip and Gary Wilson.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5472 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-15 01:53:40 +00:00
Malcolm Tredinnick 762e677d26 Fixed #3972 -- Updated docstring. Patch from SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5471 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-15 00:26:30 +00:00
Malcolm Tredinnick 4a61c2f912 Fixed #4531 -- Added a bit more randomness to session idents. Thanks, Frank
Tegtmeyer.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5470 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-15 00:22:16 +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
Malcolm Tredinnick 9bc8941f67 Fixed #4532 -- Trivial typo fix. Noticed by philliptemple@yahoo.co.uk.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5466 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-12 00:31:55 +00:00
Malcolm Tredinnick a4d773b580 Fixed a bug in the way file uploads were constructed. The new behaviour
should emulate a form upload more accurately.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5465 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-11 20:03:07 +00:00
Malcolm Tredinnick 5c346840bb Fixed #4473 -- Added documentation of the three cleaning methods invoked on
form data. Based on a patch from Joe Heck.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5460 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-11 11:49:25 +00:00
Malcolm Tredinnick 04f5bd4378 Fixed #4406 -- Documented the maxlength parameter (added in [4295]) for the
URLField.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5459 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-11 11:19:43 +00:00
Malcolm Tredinnick 484527f780 Fixed #3807 -- Some small fixes to a couple of examples. Thanks,
jon.i.austin@gmail.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5458 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-11 11:14:05 +00:00
Malcolm Tredinnick b91226027e Added a man page for django-admin.py. Also install it correctly as part of the
auto-generated rpm. Thanks to Marc Fargas and Paul Bissex for writing the man
page. Refs #3341.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@5457 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-10 06:33:31 +00:00
Malcolm Tredinnick ca6e4f345e Fixed #4335 -- Added Python executable binary path and version to debug output.
Thanks, Pete Crosier.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5456 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-10 04:02:29 +00:00
Malcolm Tredinnick 86fd59cfa5 Fixed #4432 -- Fixed PostgreSQL sequence resetting in the case when a table has
no rows yet. Thanks, mrmachine.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5455 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-10 03:31:26 +00:00
Malcolm Tredinnick 03ecc00f6e Fixed #4462 -- Use builtin reversed() function when available (in "for" tag).
Thanks, Brian Harring.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5454 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-10 03:11:10 +00:00
Malcolm Tredinnick a33fb695e3 Fixed #4475 -- Fixed a problem that was preventing streaming tests for the
serializers from ever being run. Based on a patch from ian.g.kelly@gmail.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5453 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-10 03:06:34 +00:00
Malcolm Tredinnick 1b02534ac3 Fixed #4488 -- Fixed a typo pointed out by luca.ferroni@labs.it.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5452 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-10 02:13:58 +00:00
Malcolm Tredinnick 130c7eee80 Fixed #4517 -- Made sure that URL_VALIDATOR_USER_AGENT includes the up-to-date
Django version number. Thanks, James Wheare.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5451 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-10 02:00:46 +00:00
Malcolm Tredinnick 6fc10f50b0 Fixed #4518 -- Added handling of empty strings in typecast_decimal() for
SQLite's benefit. Thanks, Richard House.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5450 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-10 01:52:56 +00:00
Malcolm Tredinnick 4a1dfe4240 Fixed #4489 -- Made a small grammatical tweak to Dutch translation. Thanks,
Alper Çugun.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5449 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-10 01:47:02 +00:00
Russell Keith-Magee 16269c4d0a Fixed #3523 -- Added list unpacking to for loops in templates. Thanks to SmileyChris and Honza Kral for their work.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5443 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-08 11:58:03 +00:00
Adrian Holovaty 83fe33e277 Made some changes to docs/newforms.txt that I'd had lying around
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5442 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-07 22:28:06 +00:00
Adrian Holovaty 8494ffc730 Fixed misspelling in docs/add_ons.txt from [5432]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5439 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-07 21:41:41 +00:00
Adrian Holovaty ceba11abf5 Fixed typo in docs/db-api.txt from [5431]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5438 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-07 21:40:56 +00:00