Commit Graph

5931 Commits

Author SHA1 Message Date
Malcolm Tredinnick c435975cc7 Fixed #8196 -- Make the model_form tests also pass if you don't have PIL
installed. We weren't relying on PIL previously, but the output was different
if it wasn't installed, which was triggering spurious failures. Patch from
Marty Alchin.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8842 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 03:07:26 +00:00
Malcolm Tredinnick 63c9b7bf06 Avoid a deprecation warning when running on Python 2.6. Patch from Karen Tracey.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8841 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 03:04:28 +00:00
Malcolm Tredinnick 54e02cc92b Updated Norwegian translation from Jon Lønne. Fixed #8785.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8840 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 02:50:23 +00:00
Malcolm Tredinnick 4aa0714916 Updated Macedonian translation from Georgi Stanojevski. Fixed #8783.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8839 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 02:49:04 +00:00
Malcolm Tredinnick c57c495a19 Updated Finnish translation from Ville Säävuori and Antti Kaihola. Fixed #8782.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8838 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 02:47:55 +00:00
Malcolm Tredinnick 51195f75dc Updated Arabic translation from Ossama M. Khayat. Fixed #8781.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8837 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 02:45:54 +00:00
Malcolm Tredinnick 91e646aa74 Updated Czech translation from Petr Marhoun. Fixed #8779.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8836 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 02:41:55 +00:00
Malcolm Tredinnick 1a9ed22d06 Dutch translation update from Rudolph Froger. Fixed #8776.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8835 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 02:41:45 +00:00
Malcolm Tredinnick 0ac2e3dd83 French translation update from David Larlet. Fixed #8661.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8834 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 02:35:40 +00:00
Malcolm Tredinnick ffd47e7383 Japanese translation update from Takashi Matsuo. Fixed #8176.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8833 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 02:35:29 +00:00
Malcolm Tredinnick 12f6259903 Fixed #8439 -- Complex combinations of Q-objects (using both conjunctions and
disjunctions) were producing incorrect SQL when nullable relations were
involved. This fixes that.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8832 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 02:16:41 +00:00
Malcolm Tredinnick 3cdfb47e93 A typo fix that fortunately wasn't creating invalid SQL, just slightly less
efficient than possible SQL in some odd cases (found via code inspection, not
any particular failing example).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8831 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 00:50:19 +00:00
James Bennett c7a10b677d Fixed #8786: Moved phone number field docs to localflavor
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8830 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 00:26:28 +00:00
Malcolm Tredinnick 1b615ac46d Get the join promotion code (a bit more) correct when constructing joins for ordering.
Yes, this really is a commit that fixes an oversight in a commit that fixed an
oversight. One day I'll get it right.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8829 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 00:20:10 +00:00
James Bennett a47bffad17 Fixed #8757: Corrected formatting of inclusion tag example
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8828 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 23:57:55 +00:00
Ian Kelly 6211527fa2 Replaced exact lookups of the empty string with isnull lookups in Oracle. Fixes the testPreventDuplicateComments case.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8827 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 23:18:42 +00:00
Brian Rosner 502fc3ae56 Fixed #8759 -- Corrected a typo in example code. Thanks James Tauber for the find.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8826 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 23:06:39 +00:00
Malcolm Tredinnick a9465a75de Fixed a case of incorrect parsing of quanitifers in reg-exp patterns.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8825 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 23:03:03 +00:00
Brian Rosner eefec151d1 Fixed #2612 -- Fixed admin formatting when help_text is used with multiple fields on the same line.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8824 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 22:59:43 +00:00
Brian Rosner ce47d4ab83 Fixed #8648 -- Admin no longer ignores to_field. Thanks for the help Karen Tracey and SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8823 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 22:43:38 +00:00
Malcolm Tredinnick dcb0e8f959 Fixup for Python 2.3.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8822 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 22:32:40 +00:00
Jacob Kaplan-Moss fc4948d574 Fixed #8770: made some tests more robust under MySQL. Thanks, Alex Gaynor.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8821 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 22:28:18 +00:00
Jacob Kaplan-Moss d86a702d37 Fixed #8777: use better capitalization in unique together error message. Thanks, Petr Marhoun.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8820 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 22:22:12 +00:00
Jacob Kaplan-Moss 3a18002bbd Fixed #8210 and #8664: moved `USStateField` and `PhoneNumberField` to `django.contrib.localflavor.us`. This is a backwards-incompatible change, albeit a minor one; just add an aditional `import` and go on your way.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8819 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 22:15:35 +00:00
Ramiro Morales 4f225d44ce Updated Argentinean spanish translation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8818 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 22:05:18 +00:00
Brian Rosner 2487e3ae37 Removed a conditional that slipped by that makes inline model formsets fail validation when re-submitted.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8817 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 21:33:15 +00:00
Brian Rosner 7c7ad041b3 Fixed #7975 -- Callable defaults in inline model formsets now work correctly. Based on patch from msaelices. Thanks for your hard work msaelices.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8816 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 21:28:32 +00:00
Jacob Kaplan-Moss ca7db155aa Fixed #8763: added an explicit ordering to the generic_relations test so that the test results aren't dependant on database ordering.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8815 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 21:16:17 +00:00
Jacob Kaplan-Moss d5cc16b471 Fixed #8076: fixed `get_(next/previous)_by_date` when used with subclasses. Thanks, bjornkri and jan_oberst.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8814 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 21:04:01 +00:00
Marc Fargas b4d3f4e004 Closes #8771, Updated Hebrew translation. Thanks Alex Gaynor.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8813 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 20:45:34 +00:00
Jacob Kaplan-Moss 89633c3077 Fixed a small oversight in [8750]; thanks for the sharp eyes, Warren. Fixes #8616.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8812 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 20:25:16 +00:00
Jannis Leidel 7239429851 Updated German translation for r8805
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8811 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 20:17:00 +00:00
Ian Kelly d2f420ec8a Corrected Oracle DatabaseError definition.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8810 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 19:58:41 +00:00
Nicola Larosa 9b7dc6a3d6 Italian translation updated. String thaw...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 19:41:50 +00:00
Ian Kelly c887d71e76 Fixed escaping of wildcard characters in iexact lookups in Oracle.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8808 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 19:37:48 +00:00
Jacob Kaplan-Moss 7ecdf47bd0 Fixed #8115: avoid a infiniate loop when collecting related objects for deletion.
I can't reproduce the original error leading to #8115 and the patch. However, the only harm this change could cause is to raise more `CyclicDependency` exceptions than strictly necessary. That's better than infinite loops, at least, and it's easier to clean up in the future when we figure out the actual fix.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8807 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 19:35:03 +00:00
Jacob Kaplan-Moss d7e9bb0571 Repaired an oversight from [8772] that let made certain types of fields with choices fail. Fixes #6967 again.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8806 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 19:20:03 +00:00
Jacob Kaplan-Moss ea05e61b2b Fixed #8209: `ModelForm`s now validate unique constraints. Alex Gaynor did much of this work, and Brian Rosner helped as well.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8805 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 19:08:08 +00:00
Ian Kelly 5f31e9bd33 Fixed extra_select with DateQuery in Oracle
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8804 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 18:45:49 +00:00
Malcolm Tredinnick cf7a078774 Added a related name to the ForeignKey in the abstract base class of the
comment models. You'll never need to use this name, but it will lead to invalid
models if not present.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8803 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 17:56:22 +00:00
Jacob Kaplan-Moss e545058ba9 Fixed #8354: the MySQL backend no longer raises a cryptic error. Instead, it raises a less-cryptic error. Obiously this isn't a perfect solution by any means, but it'll do until we can revisit timezone handling in the future.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8802 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 17:48:39 +00:00
Jacob Kaplan-Moss 15206298ed Revert [8799]. That wasn't ready for prime-time yet -- thanks, git-svn!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8801 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 17:38:59 +00:00
Jacob Kaplan-Moss a3196dac48 Make sure to use force_unicode when looking up comment objects by `object_pk`. Fixes #8762, and one other bug that nobody's reported yet.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8800 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 17:23:09 +00:00
Jacob Kaplan-Moss 429c87fef8 A failing test for #8354
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8799 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 17:22:34 +00:00
Marc Fargas 3686fc189a Closes #8731, Typo in "fr" locale. Thanks Sephi & Julien.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8798 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 13:28:22 +00:00
Marc Fargas 587d3d7f79 Closes #8755, Updated Turkish translation. Thanks Metin Amiroff.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8797 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 13:23:10 +00:00
Marc Fargas 733765a062 Closes #8745, Updated Czech translation. Thanks Petr Marhoun.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8796 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 13:21:15 +00:00
Marc Fargas 36ece38c07 Closes #8751, Updated Simplified Chinese translation. Thanks Liang Feng.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8795 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 13:15:14 +00:00
Russell Keith-Magee f55b834c2f Fixed #7302: Corrected quoting of columns in extra_group_by. Thanks to Ivan Sagalaev for the patch and initial test.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8794 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 12:07:26 +00:00
Russell Keith-Magee 823263429f Added svn:ignore on a few new directories.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8793 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 11:34:22 +00:00