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
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
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
Marc Fargas
7b70bf9ea6
Closes #8743 , Typo in Brazilian translation. Thanks Guilherme M. Gondim.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8790 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 09:40:57 +00:00
Marc Fargas
c176cf71ba
Closes #8750 . Updated Dutch translation. Thanks Rudolph Froger
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8789 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 09:38:02 +00:00
Jannis Leidel
94da2b8118
Updated German translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8786 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 07:52:17 +00:00
Ludvig Ericson
e3525b19aa
Updated Swedish translations added in r8679.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8785 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 06:12:51 +00:00
Nicola Larosa
84e0264fee
Fixes #8736 - Italian translation. We're hopefully through with
...
rearranging the chairs on Titanic's deck... ;-)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8784 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 05:21:43 +00:00
Malcolm Tredinnick
2d7feda05c
Fixed #7512 -- Fixed an oversight when I first fixed ordering on nullable
...
foreign keys (r7761). Thanks to George Vilches for the test case here.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8783 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 02:43:55 +00:00
Malcolm Tredinnick
4480645ac3
Fixed #8316 -- Put tighter restrictions on the type of Foreign Key fields
...
created for MySQL (because MySQL + InnoDB has those restrictions).
Patch from julianb.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8782 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 00:49:03 +00:00
Malcolm Tredinnick
032d654967
Fixed #8709 -- Updated Slovakian translation from Frantisek Malina.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8781 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 00:13:42 +00:00
Malcolm Tredinnick
8c2d788a68
Fixed #8043 -- updated Brazilian Portugese translation from Guilherme Mesquita Gondim.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8780 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 23:59:36 +00:00
Malcolm Tredinnick
97ba591d87
Fixed #4624 -- Updated Persian translation from Reza Mohammadi.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8779 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 23:53:58 +00:00
Aljosa Mohorovic
653d21aa6e
updated croatian translation, still not complete
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8778 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 23:27:34 +00:00
Malcolm Tredinnick
7838493b9e
Fixed #8726 -- When doing reverse URL resolving, make sure we're consistently
...
dealing with unicode strings throughout by promoting up from UTF-8 as necessary.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8777 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 22:47:25 +00:00
Brian Rosner
ab13303ea4
Fixed #8433 -- Deal with the add user popup on models that foreign key to User correctly. Thanks sorl for the report and fix.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8776 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 21:24:33 +00:00
Brian Rosner
d511996901
Enforce max_num=1 on inline model formsets that have a unique foreign key to its parent. I snuck in a quick clean up to the inlineformset_factory as well.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8775 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 21:14:46 +00:00
Jacob Kaplan-Moss
4f5b0a321d
Fixed #8194 (again): correctly focus on the first declared field in the admin. Thanks to fredbartle for catching my silly mistake the first time 'round.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8774 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 20:30:55 +00:00
Jacob Kaplan-Moss
8b11341a9a
Fixed `ModelAdmin.radio_fields` to work with the new `TypedChoiceField`.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8773 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 20:11:28 +00:00
Jacob Kaplan-Moss
3b63953704
Fixed #6967 : `ModelForm`s now validate choices. Thanks, mattmcc -- the failing test helped quite a bit.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8772 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 20:11:11 +00:00
Jacob Kaplan-Moss
4ae746b574
Added a `TypedChoiceField` which acts just like `ChoiceField`, except that it
...
returns a value coerced by some provided function. Refs #6967 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8771 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 20:10:50 +00:00
Marc Fargas
3e71a684b3
Updated Estonian translation. Thanks Erik Allik.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8770 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 19:43:49 +00:00
Jacob Kaplan-Moss
86316f0be6
Fixed #7027 : template tags now corectly break tokens around strings marked for translation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8769 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 18:28:06 +00:00
Malcolm Tredinnick
79968f9867
Fixed #8703 -- Allow deeply nested import paths for DJANGO_SETTINGS_MODULE when
...
running django-admin.py. Also adds a parameter to setup_environ() for others to
use as well.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8768 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 18:21:06 +00:00
Nicola Larosa
8f56d6d017
Fixes #8703 - Italian translation: updated django.mo, just for
...
completeness, no string changes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8767 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 17:38:54 +00:00
Marc Garcia
ec525e3719
Catalan translation updated, specially date formats. It should be ready for Django 1.0
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8765 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 17:27:12 +00:00
Brian Rosner
d05ebdb649
Fixed #8058 -- Moved media for filter_vertical/filter_horizontal widget to the widget for use outside the admin. This also corrects RelatedFieldWidgetWrapper to expose the media of the wrapped widget. Thanks Erwin for the report and cgrady and ramikassab for the complete patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8764 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 17:20:43 +00:00
Malcolm Tredinnick
e1ea7014ad
Fixed #8725 -- Handle empty URL patterns in reverse().
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8763 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 17:20:40 +00:00
Brian Rosner
30c7ce90c5
Fixed #8631 -- Corrected a display issue with the popup submit_row where the Save button would overflow. Thanks btaylordesign for report and initial patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8762 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 17:13:29 +00:00
Malcolm Tredinnick
24bacb19de
Fixed #5216 -- Fixed a case of a string not being a unicode string.
...
Thanks to Vadim Fint for the test case.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8761 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 11:39:06 +00:00
Malcolm Tredinnick
a63a83e5d8
A rewrite of the reverse URL parsing: the reverse() call and the "url" template tag.
...
This is fully backwards compatible, but it fixes a bunch of little bugs. Thanks
to SmileyChris and Ilya Semenov for some early patches in this area that were
incorporated into this change.
Fixed #2977 , #4915 , #6934 , #7206 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8760 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 11:11:20 +00:00
Brian Rosner
27f9b96fa0
Fixed handling of primary keys in model formsets. Model formsets should now work nicely with custom primary keys that are OneToOneField, ForeignKey and AutoField. Added tests to handle each of them.
...
Fixes #8241 , #8694 , #8695 and #8719 .
Thanks Karen Tracey, jonloyens, sciyoshi, semenov and magneto for tracking down various parts of this patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8756 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 09:49:55 +00:00
Ramiro Morales
a40a32e52a
Updated Argentinian spanish translation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8752 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 22:24:24 +00:00
Jacob Kaplan-Moss
ae72e25b35
Fixed #8716 : correctly handle name and email in comments from authenticated users.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8751 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 21:30:02 +00:00
Jacob Kaplan-Moss
eebc7caa63
Fixed #8616 (again): prevent a race condition in the session file backend. Many thanks to Warren Smith for help and the eventual fix.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8750 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 20:50:41 +00:00
Malcolm Tredinnick
1729d92f71
Fixed #8702 -- Set up the initial locale correctly for the development server.
...
Previously, "--noreload" wasn't picking up the default language setting. Thanks
to arien and Karen Tracey for debugging this.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8749 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 20:17:58 +00:00
Jacob Kaplan-Moss
15644cb255
Fixed #8622 : accessing POST after a POST handling exception no longer throws the server into an infinite loop. Thanks to vung for tracking this one down and fixing it.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8748 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 19:56:14 +00:00
Jacob Kaplan-Moss
f2d7ee759a
Fixed #8710 : removed a few stray tabs. Thanks, gkelly.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8746 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 19:25:40 +00:00
Jarek Zgoda
ddaa3016e2
Last missing string translated in Polish locale.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8745 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 19:10:07 +00:00
Malcolm Tredinnick
395cd3b42c
Accidentally committed a rebase of the Macedonian messages in [8742] (this
...
wasn't a translation update). Undoing that. My fault entirely.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8744 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 17:54:58 +00:00