Jacob Kaplan-Moss
0e5faf225c
Security fix. Announcement forthcoming.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8877 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 21:10:00 +00:00
Jacob Kaplan-Moss
f6a3652eb2
Fixed #8788 : fixed a few typoes in [8805]. Thanks, Matthew Flanagan and mir.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8872 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 19:33:56 +00:00
Jacob Kaplan-Moss
7a9b55ddc4
Fixed #2612 : fixed display of admin `help_text` with multiple fields on the same line. Thanks to Nathan Borror for the original patch, and jezdez for a little cleanup.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8871 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 19:25:27 +00:00
Brian Rosner
577640bd04
Fixed #8805 -- Make sure proper type coercion happens before dumping data into join for limit_choices_to when building the URL parameters for the ForeignKeyRawIdWidget popup.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 18:57:10 +00:00
Brian Rosner
c1de41f4d2
Fixed #7973 -- Added exclude to BaseModelAdmin to make everything consistent with the form/formset factories. Refs #8071 to make it easier to get at exclude. Thanks julien for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8861 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 17:26:24 +00:00
Justin Bronn
326b26656a
Fixed `GeoRSSSitemap` to no longer use both `args` and `kwargs` with `urlresolvers.reverse` (no longer allowed since r8760).
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8860 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 17:13:39 +00:00
Jacob Kaplan-Moss
24d7b49849
Fixed #8496 : added a note about admindocs to the project template and the tutorial. Thanks, ericvw.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8859 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 16:52:42 +00:00
Jacob Kaplan-Moss
23f012dbfa
Cleaned up a bunch of minor doc stuff:
...
* Removed flatpages/redirects README; no other contrib apps have those.
* Cleaned up top-level README to be more readable.
* Removed outdated references to old docs (Fixes #8701 )
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8857 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 16:42:13 +00:00
Jacob Kaplan-Moss
79d2ee3b6d
Fixed #8309 : subclasses now inherit `GenericForeignKey` correctly. There's also now an internal API so that other "virtual fields" like GFK can be inherited as well. Thanks, msaelices.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8855 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 15:26:00 +00:00
Jacob Kaplan-Moss
98e1cc92f4
Fixed #8795 : unique_together validation no longer fails on model forms that exclude fields included in the check. Thanks, Alex Gaynor.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8854 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 14:20:11 +00:00
Malcolm Tredinnick
5c32fe7fad
Fixed #8790 -- Multi-branch join trees that shared tables of the same name were
...
sometimes also sharing aliases, instead of creating their own. This was
generating incorrect SQL.
No representative test for this fix yet because I haven't had time to write one
that fits in nicely with the test suite. But it works for the monstrous example
in #8790 and a bunch of other complex examples I've created locally. Will write
a test later.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8853 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 13:52:07 +00:00
Marc Fargas
2a14acb5f4
Closes #8791 , Updated Turkish translation. Thanks Metin Amiroff.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8852 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 10:19:07 +00:00
Malcolm Tredinnick
f31425e8e2
Fixed #7154 -- Inherit all model managers from abstract base classes.
...
Also added documentation describing how manager inheritance works (and when
manager aren't inherited). Based on some patches from sebastian_noack and
emulbreh.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8851 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 09:04:54 +00:00
Aljosa Mohorovic
cf5087fdb2
update for croatian language (should be 100%)
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8850 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 08:35:22 +00:00
Marc Fargas
e276ad0109
Updated Catalan translation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8849 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 07:46:19 +00:00
Marc Fargas
3b7c57587c
Updated Spanish translation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8848 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 07:45:45 +00:00
Jarek Zgoda
e0a7a9225e
Update Polish translations
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8847 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 06:49:06 +00:00
Brian Rosner
0cd5caa6a8
Fixed #8787 -- Fixed failing admin_widgets tests. This fixes ManyToManyRawIdWidget which was broken with [8823]. Thanks Alex Gaynor.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8846 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 06:10:14 +00:00
Ludvig Ericson
67e141a7cd
Updated Swedish translations.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8845 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 05:27:35 +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
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
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
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
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
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