Luke Plant
24a1900b36
[1.0.X] Fixed #8248 : made help() work on models and improved introspection support.
...
Descriptors now return themselves when accessed via the class, as per standard
Python descriptors like property().
Backported from r9550 and also r9562 and r9563
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9634 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-10 00:14:56 +00:00
Malcolm Tredinnick
8611522898
[1.0.X] Fixed #9775 -- Fixed an oversight from r9601 and allow direct attribute
...
lookup in the serializable_value() method. This means that abstract
parents that are multi-table children of other models(no, really!!) now
work again.
Backport of r9618 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9619 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 06:51:23 +00:00
Matt Boersma
1a3a03c5f0
[1.0.X] Fixed obscure Oracle quoting issues pointed out by the custom_columns_regress test case.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9613 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 18:37:08 +00:00
Justin Bronn
067361b9c5
[1.0.X] Fixed a Python 2.4 incompatibility in compress_kml
.
...
Backport of r9607 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9608 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 14:52:39 +00:00
Justin Bronn
974135fc7e
[1.0.X] Fixed #9747 -- now explicitly set response type on C functions that return WKB and WKT.
...
Backport of r9605 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9606 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 14:34:28 +00:00
Malcolm Tredinnick
4dcff3e684
[1.0.X] The second part of fixing "related inherited models" display. Handle raw_id values for child models in the admin. Fixed #9461 .
...
I couldn't think of a way to test this automatically and robustly, however,
manual testing with the ticket example shows failure before and success
afterwards and the fix make sense logically.
Backport of r9602 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9604 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 08:24:32 +00:00
Malcolm Tredinnick
bffb457862
[1.0.X] The first step in fixing a group of problems related to outputting a
...
proper "value" for a field that is a relation to another model.
This part adds the utility method on Model that should help in general.Also
cleans up the slightly ugly mess from r8957.
Backport of r9601 from trunk (the second piece of this patch is a bugfix, not
just a tidy-up. It looks like it might be possible to have to_field setups that
make the existing code fail and that's only hidden by the fact that inherited
models with to_field relations to the parent fail for other reasons right now).
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9603 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 08:23:52 +00:00
Gary Wilson Jr
85e1d876c0
[1.0.X] Fixed #9732 -- Added missing close paragraph tag to password reset confirmation template, thanks casseen.
...
Backport of r9599 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9600 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 05:42:39 +00:00
Malcolm Tredinnick
61e36bd7d1
[1.0.X] This fixes a group of problems in the SQL created by QuerySet.exclude()
...
when used in a few situations where NULL results can appear.
Fixed #8921 (the only ticket I know of that noticed any of these).
Backport of r9590 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9591 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 02:47:05 +00:00
Malcolm Tredinnick
a8a4743b1d
[1.0.X] Fixed #9188 -- Fixed a case where we were generating syntactically invalid SQL in some exclude() queries.
...
Backport of r9588 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9589 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-07 05:50:26 +00:00
Malcolm Tredinnick
3653a53dba
[1.0.X] Fixed #9728 -- Updated Macedonian translation from Georgi Stanojevski and Vasil Vangelovski.
...
Backport of r9575 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9577 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-07 03:25:20 +00:00
Malcolm Tredinnick
1eac2453a5
[1.0.X] Fixed #9639 -- Updated Ukranian translation from Mykola Zamkovoi.
...
Backport of r9574 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9576 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-07 03:23:33 +00:00
Justin Bronn
35b0499905
[1.0.X] Fixed #9572 -- use opts
argument. Thanks SeanL for bug report and patch.
...
Backport of r9572 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9573 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-06 02:01:38 +00:00
Justin Bronn
cad3c019cc
[1.0.X] Fixed #9742 -- remove extraneous 'kml' from KML mimetype. Thanks, robotika for the bug report.
...
Backport of r9570 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9571 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-06 01:24:59 +00:00
James Bennett
687823640d
[1.0.X] Correct weird typo that crept into [9567].
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9568 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-04 19:34:54 +00:00
James Bennett
c1ec41a91a
[1.0.X] Fixed #9754 : static-serving view now uses correct template name for directory indexes. Was [9566] in trunk.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9567 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-04 19:34:23 +00:00
Ian Kelly
a261602bd3
[1.0.X] Fixed #9706 : made SlugField honor max_length in Oracle, matching the other backends. Backport of [9548] from trunk.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-02 18:42:30 +00:00
Ian Kelly
4c7efda28f
[1.0.X] Fixed a pair of bugs in determining the set of models to flush that were causing test cause failures in Oracle after [9536].
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9547 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-02 16:59:39 +00:00
Russell Keith-Magee
af6b7cdc63
[1.0.X] Fixed #9736 -- Added quoting to the SQL constraint names generated during table creation. This is to accommodate primary keys with spaces.
...
Merge of [9543] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9545 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-02 13:34:00 +00:00
Russell Keith-Magee
19cb720df7
[1.0.X] Fixed #9717 -- Corrected a problem where django-admin.py flush would attempt to flush database tables that had not yet been created. This occurred when an application had been added to INSTALLED_APPS, but had not yet been synchronized. Thanks to Julien Phalip for the patch.
...
Merge of [9535] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9536 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-29 11:55:05 +00:00
James Bennett
b3f278258a
[1.0.X] Fixed an issue in ForeignKeyRawIdWidget where the values in limit_choices_to were always treated as lists even when they weren't. Was [9533] in trunk.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9534 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-26 21:22:07 +00:00
Jarek Zgoda
1ca99e901f
[1.0.X] Two new locale names translated.
...
Backport of [9525] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9526 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-23 20:27:54 +00:00
Karen Tracey
33dac7afd7
[1.0.X] Fixed #9642 -- Made the admin calendar/clock popups go away when the users clicks outside them. The previous javascript code did not work on IE. Thanks northtea for the report and patch.
...
r9514 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9516 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-21 15:35:15 +00:00
Malcolm Tredinnick
8bcde6492a
[1.0.X] Fixed #2782 -- Make the server port available through the modpython
...
handler. (Originally applied in r3866, reverted in r3927 and now verified as
correct).
Backport of r9512 from trunk. This is a bugfix, since the value is used in
HttpRequest.get_host().
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9513 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-21 12:08:11 +00:00
Malcolm Tredinnick
d75628fbe8
[1.0.X] Fixed #9617 -- Fixed a typo in the Polish translation. Thanks, romke.
...
Backport of r9510 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9511 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-21 11:52:52 +00:00
James Bennett
0f5258684e
[1.0.X] OneToOne? filtering should only apply in a popup selection from the related model. This was [9507] in trunk.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9508 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-20 19:02:17 +00:00
Ludvig Ericson
5cc5451a3f
Update Swedish translations.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9506 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-19 16:24:11 +00:00
James Bennett
f952314532
[1.0.X] With 1.0.2 out, this branch is now 1.0.3 pre-alpha
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9505 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-19 06:01:45 +00:00
James Bennett
ef784f94d8
[1.0.X] Django 1.0.2.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9499 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-19 05:27:25 +00:00
Karen Tracey
371fee791b
[1.0.X] Fixed #9597 : Hebrew translation update.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9492 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-18 22:29:05 +00:00
Karen Tracey
6aff7f4768
[1.0.X] Fixed #9612 : Danish translation update including date format corrections.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9491 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-18 22:25:08 +00:00
Justin Bronn
857e3aa548
[1.0.X] Reverted r9483 -- the patch broke the Oracle spatial backend.
...
Backport of r9484 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9485 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-17 18:47:01 +00:00
Justin Bronn
0ab5dad0b3
[1.0.X] Fixed #9620 -- spatial database tables now have app_label
set correctly.
...
Backport of r9482 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9483 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-17 18:22:39 +00:00
Karen Tracey
bdae3cc27d
[1.0.X] Fixed #9608 : Ensured a Model's default repr() is printable even if its unicode method raises a Unicode error.
...
r9475 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9477 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-16 19:08:53 +00:00
Malcolm Tredinnick
aed11333f1
[1.0.X] Fixed #6052 -- Worked around a bug in MySQLdb with regards to handling
...
SafeUnicode (handle SafeString similarly, just to be safe). Based on a patch
from sfllaw.
Backport of r9467 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9469 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-16 08:57:10 +00:00
Malcolm Tredinnick
d7e1856776
[1.0.X] Fixed #3501 -- Fixed date filtering in querysets for nullable date fields. Only affects SQLite.
...
Backport of r9466 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9468 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-16 08:55:10 +00:00
James Bennett
137d27ada6
[1.0.X] With 1.0.1 out the door, branches/releases/1.0.X is now 1.0.2 pre-alpha.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9461 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-15 06:28:20 +00:00
James Bennett
13f63f051b
Django 1.0.1.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9459 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-15 06:00:26 +00:00
Malcolm Tredinnick
087f8aa781
[1.0.X] Fixed a bug introduced in r9443.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9447 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-15 02:51:10 +00:00
Brian Rosner
781a1763d9
[1.0.X] Fixed #9258 -- Use _default_manager in ForeignKeyRawIdWidget.label_for_value. Thanks nullie for the patch.
...
Backport of r9444 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9445 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-15 02:21:32 +00:00
Malcolm Tredinnick
014c563662
[1.0.X] Fixed #6948 -- The join filter was escaping the literal value
...
that was passed in for the connector. This was contrary to what the
documentation for autoescaping said and to what every other filter does
with literal strings as arguments.
This is backwards incompatible for the situation of the literal string
containing one of the five special HTML characters: if you were writing
{{ foo|join:"&" }}, you now have to write {{ foo| join:"&" }}.
Previous behaviour was, as noted, a bug and contrary to what was
documented and expected.
Backport of r9442 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9443 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-15 01:24:53 +00:00
Karen Tracey
385f2fe2b5
[1.0.X] Fixed #9076 -- Changed BaseInlineFormSet to not override BaseModelFormSet's get_queryset method. BaseInlineFormSet's method did not include a couple of fixes/enhancements that were made to the parent's method, resulting in excessive queries (some of which can return bad data due to #9006 ) for admin pages with inlines. Thanks bthomas for the initial patch.
...
r9440 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9441 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-14 15:40:26 +00:00
Malcolm Tredinnick
1c6f2b9ec8
[django-1.0.X] Fixed #9570 -- Updated Arabic translation from Ossama M. Khayat.
...
Backport of r9423 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9427 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-14 07:23:10 +00:00
Malcolm Tredinnick
28ad811329
[Django-1.0.X] Fixed #9574 -- Hindi translation from Thejaswi Puthraya.
...
Backport of r9422 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9426 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-14 07:22:12 +00:00
Nicola Larosa
dab02d4f84
Italian translation updated
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9424 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-14 07:14:58 +00:00
Ramiro Morales
c1fdbb0efe
[1.0.X] Updated Argentinian spanish translations, refs #9506 and related commits.
...
Port of [9420] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9421 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-14 02:48:29 +00:00
Ian Kelly
aef9663625
[1.0.X] Removed support for passing params as dicts in the oracle backend. Wasn't documented, didn't work, isn't necessary. Backport of [9418] from trunk.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9419 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-14 00:56:12 +00:00
Karen Tracey
ac832a285f
[1.0.X] Fixed #9579 -- Properly handle apps running with (and specifically, loading templates from) a current working directory path that contains non-ASCII characters. Thanks for the report to gonzalodelgado and for advice on how to fix it to Daniel Pope.
...
r9411 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9414 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-13 19:11:08 +00:00
Brian Rosner
f219136e11
[1.0.X] Fixed #9498 -- Handle a formset correctly when the foreign key is not available (for now).
...
This case pops up with generic foreign key inlines after [9297]. Added tests
to handle future regressions with generic foreign key inlines in the admin.
Thanks markus and danielr for patches.
Backport of [9412] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9413 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-13 19:05:49 +00:00
Marc Fargas
c8dcbb038a
[1.0.X] Updated Catalan translation.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9408 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-13 18:07:51 +00:00