Commit Graph

9048 Commits

Author SHA1 Message Date
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
Gabriel Hurley 56b9e0c45f [1.2.X] Fixed #14736 -- corrected an ungrammatical sentence in the template tags docs. Thanks to DD for the report and adamv for the draft patch.
Backport of [14677] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14678 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-22 06:44:59 +00:00
Honza Král 2aa47f2b32 [1.2.X] Preventing problems possibly introduced by r14662
acquire a lock before entering a try block that ends with the lock's
release. Thanks for the catch Alex.

Backport of r14668 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14669 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-21 17:35:48 +00:00
Ramiro Morales 4e3c8c6aff [1.2.X] Fixed #14453 -- Changed handling of microseconds part in typecast_timestamp() DB backend helper function to be more correct. Thanks philipn for the report and fix.
Backport of [14664] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14665 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-21 15:19:46 +00:00
Honza Král 99bad1b055 [1.2.X] Make django signals more thread-safe. Thanks milosu for the patch!
Backport of r14662 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14663 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-21 14:58:18 +00:00
Honza Král 4d7525c5b1 [1.2.X] CZ Localflavor clean() incorrectly called super.__init__. Thanks for the report and patch idangazit!
Backport of r14660 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14661 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-21 14:08:13 +00:00
Chris Beaven d04ffd7247 Fixes #13804 -- URLField validation failure for a url containing '://' on the path and no scheme. Backport of r14657
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14658 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-21 10:16:02 +00:00
Justin Bronn 4a8519334d [1.2.X] Now possible to run the GeoDjango test suite with a minimal settings file. Refs #10420, #14439.
Backport of r14653 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14654 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-20 23:57:01 +00:00
Gabriel Hurley 76a51a3f04 [1.2.X] Replaced an unnecessary UTF8 character in the admindocs docs. Thanks to Luke Plant for the report.
Backport of [14646] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14647 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-20 11:11:39 +00:00
Gabriel Hurley 762aaf45b7 [1.2.X] Fixed #14727 -- Corrected three minor issues in the docs. Thanks to OldTroll for the report and the patch.
Backport of [14644] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14645 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-20 10:51:04 +00:00
Luke Plant 077d04b7fe [1.2.X] Fixed a garbage character that was somehow introduced into some backported docs.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14641 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-20 01:56:34 +00:00
Luke Plant 8a0de6985c [1.2.X] Fixed hyperlinking of template tags for Sphinx >= 1.0
Follow on from incomplete fix in [14477], and [14631] which removed
compatibility for Sphinx < 1.0

Backport of [14639] from trunk, and [14477] which was never applied to 1.2.X
branch but should have been.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14640 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-20 01:56:20 +00:00
Ian Kelly 84d809d822 [1.2.X] Updated an old workaround described in the Oracle backend notes with more modern advice.
Backport of r14637 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14638 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-20 01:15:14 +00:00
Carl Meyer b199cb36f3 [1.2.X] Fixed poorly-constructed test from r14612. Thanks to Alex Gaynor for the eagle eyes.
Backport of r14635 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14636 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-20 00:06:19 +00:00
Alex Gaynor 7236b76e25 Corrected some issues with the backport from [14627].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14634 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-19 23:56:38 +00:00
Ramiro Morales 8d3e66fad6 [1.2.X] Removed compatibility with Sphinx < 1.0 workarounds in our extension code. Also, started to use the 'needs_sphinx' Sphinx config var.
Follow up on r14624.

Backport of [14631] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14633 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-19 23:23:17 +00:00
Ian Kelly 04fec1be96 [1.2.X] Fixed #13351: Added documentation about the cx_Oracle 'threaded' option to the oracle backend notes.
Backport of r14630 from trunk.

Thanks to Skaffen for the suggestion.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14632 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-19 23:23:03 +00:00
Ramiro Morales 237e9557d7 [1.2.X] Corrected change in behavior regarding the page shown after the 'Save' button is pressed when adding a user through the admin.
It had been introduced in trunk (r13503) and between 1.2.1 and 1.2.2 (r13504). The original fix intended to correct a similar problem introduced between 1.1 and 1.2 (r12218) this time in the 'Save and add another' button.
We have now tests for the three buttons present in the Add User admin form to avoid future regressions.
Thanks to Juan Pedro Fisanotti and Cesar H. Roldan for their work.

Backport of [14628] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14629 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-19 23:04:48 +00:00
Alex Gaynor da163cc957 [1.2.X] Began converting localflavor doctests into unittests, starting with the German ones. Also introduced a new base class to facilitate ease of testing form fields. We have always been at war with doctests. Thanks to Idan Gazit for the patch. Backport of [14626].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14627 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-19 19:34:17 +00:00
Carl Meyer 426a28f967 [1.2.X] Bumped documentation-building requirements to Sphinx 1.0.2 and Pygments 1.1. The use of 'console' highlight in staticfiles docs requires Pygments 1.1.
Backport of r14624 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14625 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-19 17:30:56 +00:00
Carl Meyer 5ef3269b78 [1.2.X] Fixed #14728 -- Broadened warning about django-admin.py missing .py suffix to include more than just Ubuntu, since at least Fedora also does this. Thanks to giallu for the report.
Backport of r14621 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14622 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-19 14:57:50 +00:00
Alex Gaynor 4f2e9aed33 [1.2.X] Corrected the way databases were compared. This allows running the test suite with two in memory SQLite databases. Backport of [14619].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14620 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-19 08:15:40 +00:00
Alex Gaynor 9edd6953cc [1.2.X] Converted the model_regress doctests into unittests. We have always been at war with doctests. Backport of [14614].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14617 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-18 23:51:20 +00:00
Carl Meyer 87fe4be9c5 [1.2.X] Fixed pk uniqueness validation for new objects created outside of a ModelForm. Also removed need for ModelForm to poke at Model._state.adding, keeping it an internal ORM concern.
Backport of r14613.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14616 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-18 23:46:26 +00:00
Carl Meyer d88cabd3da [1.2.X] Fixed #14234 -- Re-validating a model instance added via ModelForm no longer throws spurious PK uniqueness errors. Thanks to David Reynolds and Jeremy Dunck.
Also moved Model._adding to Model._state.adding to reduce instance namespace footprint.

Backport of r14612.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14615 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-18 23:46:09 +00:00
Jannis Leidel 395af9d5cf [1.2.X] Fixed #7077 and #7431 -- Use getpass.getuser instead of pwd.getpwuid to determine the current system user's username in the createsuperuser management command to enable the feature on Windows. getpass.getuser automatically falls back to the previous method.
Backport from trunk (r14607).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14608 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-17 20:30:44 +00:00