Simon Meers
65b26b30a7
[1.2.X] Fixed #12812 -- added warning about cyclic imports in contrib.comments. Thanks to Beetle_B, bjourne and philgyford for the reports, and Russ for the wording.
...
Backport of r14810 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14811 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04 11:38:26 +00:00
Russell Keith-Magee
6c53a816e7
[1.2.X] Fixed #14807 -- Ensure that boolean values aren't localized as T.rue and Fa.lse because of the thousand separator. Thanks to vanschelven for the report and
...
Backport of r14804 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14807 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04 08:04:16 +00:00
Alex Gaynor
70383ccf68
[1.2.X] Fixed a broken test introduced in [14786].
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14806 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04 07:53:23 +00:00
Alex Gaynor
cc48f66f73
[1.2.X] Removed all usages of deprecated TestCase methods (self.fail*). This removed most of the Warnings emitted (with -Wall) during the test suite. Backport of [14803].
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14805 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04 07:49:31 +00:00
Russell Keith-Magee
5a792ec4cc
[1.2.X] Fixed #14737 -- Moved the docstring comment for the cache_page decorator so it gets picked up as a docstring. Thanks to adamv for the report and patch.
...
Backport of r14798 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14802 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04 07:05:57 +00:00
Russell Keith-Magee
821b7f362c
[1.2.X] Fixed #14795 -- Ensure that get_all_permissions() returns the right result (i.e., all permissions) for superusers. Thanks to jay.halleaux@gmail.com for the report, and Brett Haydon for the patch.
...
Backport of r14797 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14801 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04 07:05:39 +00:00
Russell Keith-Magee
3ad1cb7701
[1.2.X] Normalized the name order of arguments. There's no actual bug here, other than potential confusion for anyone reading the code. Thanks to Aram Dulyan for the report.
...
Backport of r14796 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14800 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04 07:05:22 +00:00
Russell Keith-Magee
81a85a0c2b
[1.2.X] Fixed #13190 -- Improved error handling for the case where no authentication backends are defined. Thanks to Joel3000 for the report, and Łukasz Rekucki for the final patch.
...
Backport of r14793 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14799 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04 07:05:04 +00:00
Russell Keith-Magee
c7d68418d2
[1.2.X] Fixed #14819 -- Corrected typo in serializer docstring. Thanks to stringify for the report and patch.
...
Backport of r14789 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14792 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04 04:34:04 +00:00
Simon Meers
84e5277a25
[1.2.X] Fixed #14764 -- specified that a set is returned by User.get_..._permissions methods. Thanks MostAwesomeDude for the report.
...
Backport of r14787 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14788 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04 01:23:11 +00:00
Alex Gaynor
e0d68084a0
[1.2.X] Fixed #14700 -- ensure that a raw query is only executed once per iteration. Backport of [14785].
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14786 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-03 20:26:57 +00:00
Ian Kelly
99b5526c19
[1.2.X] Added a regression test for r14781.
...
Backport of r14783 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14784 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-03 18:39:09 +00:00
Ian Kelly
57e5ccbc1a
[1.2.X] Fixed the Oracle environment variables not getting set correctly under Cygwin.
...
Backport of r14781 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14782 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-03 00:58:56 +00:00
Ramiro Morales
f8d014504f
[1.2.X] Fixed grammar and tweaked notes about MySQL database/table collation interaction with text fields. Refs #14417 .
...
Backport of [14779] from trunk
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14780 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-02 22:38:09 +00:00
Jannis Leidel
6690e08eac
[1.2.X] Fixed broken German localflavor test introduced in r14627. Thanks for Rubber Ducking, Alex and Carl.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14775 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-02 02:00:32 +00:00
Jannis Leidel
d7391648d4
[1.2.X] Fixed #8217 -- Correctly sort files in FilePathFields on older Python versions. Thanks, bernd and davidb.
...
Backport from trunk (r14772).
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14774 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-02 01:03:00 +00:00
Jannis Leidel
a607d9d345
[1.2.X] Fixed #8342 -- Removed code from the admin that assumed that you can't login with an email address (nixed by r12634).
...
Backport from trunk (r14769).
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14773 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-02 01:02:11 +00:00
Ian Kelly
1155b493bc
[1.2.X] Fixed result ordering assumptions in the select_related tests.
...
Backport of r14762 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14763 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-01 21:44:37 +00:00
Alex Gaynor
e86e303140
[1.2.X] Fixed a bug in date queries with GIS backends introduced in [14716]. Backport of [14760].
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14761 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-01 17:54:06 +00:00
Ramiro Morales
0d6c945622
[1.2.X] Removed reference to potential exception during template rendering-time from the ungettext() documentation. Exceptions at that point should be considered and reported as a bug.
...
Backport of [14758] from trunk
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14759 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-01 15:09:56 +00:00
Jacob Kaplan-Moss
5eb62e1d94
[1.2.X] Ensured that the test suite creates the default DB before any others.
...
Refs #14799 . Backport of [14756], and see the note there for a caveat.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14757 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-30 22:16:53 +00:00
Ramiro Morales
f1d4f713e5
[1.2.X] Small grammar fix in 'user-uploaded files' comment from [14561]
...
Backport of r14582 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14755 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-30 21:39:54 +00:00
Ramiro Morales
6128255838
[1.2.X] Fixed #14812 -- Made parsing of the If-Modified-Since HTTP header more robust in presence of malformed values when serving static content. Thanks shaohua for the report, and alexey.smolsky@gmail.com for a similar report and patch.
...
Backport of r14753 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14754 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-30 21:32:11 +00:00
Gabriel Hurley
3d07bb71c6
[1.2.X] Fixed #14777 -- Added docs on working around the Python CSV module's lack of Unicode support. Thanks to adamv for the report and draft patch.
...
Backport of [14749] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14750 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-29 06:25:25 +00:00
Gabriel Hurley
3c951d94b6
[1.2.X] Fixed #14775 -- Backports the changes in [13772], which documented an undocumented feature from 1.0. Thanks to jweyrich for the report, and timo and leovitch for the patch (again).
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14748 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-29 05:54:43 +00:00
Gabriel Hurley
a647d0b8ba
[1.2.X] Fixed #14804 -- Metadata improvement, broken link fix, and alphabetization of template filters in contrib.humanize reference docs. Thanks to adamv for the patch.
...
Backport of [14746] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14747 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-29 05:33:06 +00:00
Timo Graham
fe74b832b1
[1.2.X] Fixed #11152 - Add some classes to the template docs. Thanks adamv for the patch.
...
Backport of r14744 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14745 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-29 01:00:09 +00:00
Timo Graham
57c55c69f8
[1.2.X] Fixed #14762 - Add documention for ContentFile. Thanks jesh for the suggestion and adamv for the patch.
...
Backport of r14742 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14743 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-28 20:14:40 +00:00
Timo Graham
1dd9c9c1fb
[1.2.X] Fixed #14791 - Clarify additional note on save(). Thanks OldTroll.
...
Backport of r14740 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14741 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-28 18:49:37 +00:00
Timo Graham
84e65e91a1
Fixed #14758 - Remove entire method signatures from QuerySet headings - thanks adamv for the patch.
...
Backport of r14737 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14738 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-28 18:20:05 +00:00
Timo Graham
7b4c0a73e4
[1.2.X] Fixed #14790 - Fix reST in 1.0 porting guide - thanks adamv.
...
Backport of r14735 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14736 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-28 17:50:17 +00:00
Timo Graham
0a0d4884f6
[1.2.X] Fixed #14785 - fixes to middleware docs - thanks adamv for the patch.
...
Backport of r14731 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14732 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-27 21:59:03 +00:00
Timo Graham
82261de2fe
[1.2.X] Fixed #14789 - remove an unused link from docs/topics/install.txt. thanks adamv for the report.
...
Backport of r14727 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14728 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-27 12:34:54 +00:00
Timo Graham
c71451c985
[1.2.X] Fixed #14784 - Add links to docs/topics/files.txt
...
Backport of r14725 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14726 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-27 12:28:35 +00:00
Timo Graham
d9ec98ca5d
[1.2.X] Fixed #14783 - Links + style improvements to docs/topics/email.txt. Thanks adamv for the patch.
...
Backport of r14723 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14724 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-27 12:20:09 +00:00
Timo Graham
db345ac5a2
[1.2.X] Fixed #14744 - Add cross-links to docs/topics/http/views.txt. Thanks adamv for the patch.
...
Backport of r14720 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14721 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-26 16:54:21 +00:00
Timo Graham
165a860f87
Add back a colon that's needed but was removed in r14706
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14719 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-26 15:33:39 +00:00
Timo Graham
f26dae8fb2
[1.2.X] Fixed #14782 - Add/fix links in docs/topics/cache.txt. Thanks to adamv for the patch.
...
Backport of r14717 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14718 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-26 15:10:58 +00:00
Alex Gaynor
56dc22d64c
[1.2.X] Fixed a suite of errors in the ORM -- a) fixed calling values_list().values_list() and changing whether the results are flat, b) fixed an issue with fields on the left-hand side of what becomes the HAVING clause not being included in the GROUP BY clause, and c) fixed a bug with fields from values() calls not being included in the GROUP BY clause. This fixed the recent test failures under postgresql. Backport of [14715].
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14716 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-26 14:28:27 +00:00
Jannis Leidel
c8e9d35e5c
[1.2.X] Fixed #14730 -- Fixed unclosed anchor tag in Mongolian translation. Thanks for the report, ankhbayar.
...
Backport from trunk (r14709).
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14714 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-26 13:38:53 +00:00
Jannis Leidel
537c45e394
[1.2.X] Fixed #14721 -- Made the THOUSAND_SEPERATOR a unicode string in a few locales. Thanks, Claude Paroz.
...
Backport from trunk (r14708).
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14712 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-26 13:38:33 +00:00
Timo Graham
4b752d6490
[1.2.X] Fixes #14743 - Add sphinx links and other cleanups to topics/http/urls.txt. Thanks adamv for the patch.
...
Backport of applicable portions of 14705 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14706 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-26 13:27:28 +00:00
Timo Graham
1c68437d1d
[1.2.X] Fixed #14756 - fix typo in "related objects reference" docs. Thanks deisner for the report.
...
Backport of r14703 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14704 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-26 12:41:26 +00:00
Timo Graham
edaf6aaba8
Add myself to committers
...
Backport of r14701 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14702 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-26 12:34:22 +00:00
Russell Keith-Magee
7704bd9462
[1.2.X] Fixed #14415 -- Corrected the process of creating and destroying test databases to prevent accidental deletion of the source database. Also improves the mirroring process to prevent some cross-connection effects. Thanks to Shai Berger for the help diagnosing and testing.
...
Backport of r14696 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14697 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-25 12:40:12 +00:00
Alex Gaynor
73ff0f1287
[1.2.X] Fixed #14771 -- corrected a typo in the testing docs. Thanks to Christian Oudard for the patch. Backport of [14694].
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14695 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-24 19:52:34 +00:00
Luke Plant
cb9cb65c68
[1.2.X] Fixed #14700 - speed up RawQuerySet iterator.
...
This moves constant work out of the loop, and uses the much faster *args
based model instantiation where possible, to produce very large speed ups.
Thanks to akaariai for the report and patch.
Backport of [14692] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14693 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-24 15:29:50 +00:00
Gabriel Hurley
857131685a
[1.2.X] Fixed #14767 -- Reflowed paragraphs and cleaned up some markup/links in the topics/db/optimizations docs. Thanks to adamv for the report and patch.
...
Backport of [14690] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14691 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-24 11:53:04 +00:00
Luke Plant
1c451c0f39
[1.2.X] Fixed #14697 - speeded up model instance creation by moving work outside of loops
...
Thanks to akaariai for the report and initial patch.
Backport of [14687] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14688 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-23 14:11:20 +00:00
Alex Gaynor
c2de746ea5
[1.2.X] Fixed #14754 -- corrected using an aggregate in an F expressions when that queryset is later used in a subquery. Thanks to master for the patch. Backport of [14681].
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14682 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-22 18:02:33 +00:00