Commit Graph

3897 Commits

Author SHA1 Message Date
Malcolm Tredinnick 61cc4a1eee Fixed #8819 -- Don't include two copies of extra-select columns in the query.
This was triggered by r8794, but was, in fact, fairly fragile before then. The
current fix is the correct way we should be doing this.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8898 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 03:48:25 +00:00
Malcolm Tredinnick d2ca6fd54e Fixed #8818 -- Updated changed string in German translation. Thanks, Michael
Radziej.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8897 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 02:49:06 +00:00
Malcolm Tredinnick 735337c771 Fixed #8796 -- Updated Portugese Brazilian translation from Guilherme M. Gondim.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8896 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 02:44:54 +00:00
Malcolm Tredinnick f5c80ba939 Fixed #8661 -- Updated French translation from David Larlet.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8895 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 02:42:52 +00:00
Malcolm Tredinnick 4ff1819e28 Fixed #8176 -- Updated Japanese translation from Takashi Matsuo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8894 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 02:41:29 +00:00
Malcolm Tredinnick b019a88073 Fixed #8815 -- Arabic translation update from okhayat.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8893 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 02:39:25 +00:00
Malcolm Tredinnick 7515ae1fe0 Fixed #8820 -- Dutch tranlation update from arien.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8892 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 02:39:13 +00:00
Ludvig Ericson 146f2aa667 Updated Swedish translations.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8891 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 02:37:43 +00:00
Ramiro Morales a04c6b1321 Updated literal changed in [8877] in Argentinean spanish translation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8890 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 01:17:42 +00:00
Jacob Kaplan-Moss 67813c65e1 Bumped version to rc1.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8888 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 00:20:17 +00:00
Malcolm Tredinnick 85ebb91846 Fixed #8669 -- Use a consistent version of create() across the board for
model/field instance creation. Based on a patch from Richard Davies.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8884 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 00:09:33 +00:00
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