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
James Bennett
a72eae0be7
Fixed #8728 : Corrected some broken links in the documentation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8792 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 09:45:30 +00:00
James Bennett
82e2f9bb98
Fixed #8698 : Updated overview docs for cache middleware to show that it's been split into two classes
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8791 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 09:42:15 +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
James Bennett
f88fb967bd
Fixed #8705 : Corrected some formatting issues in models documentation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8788 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 09:35:07 +00:00
James Bennett
b085ccce6c
Fixed #8730 : Incorporated (with minor changes) additions/enhancements to one-to-one docs
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8787 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 09:32:41 +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