Commit Graph

10276 Commits

Author SHA1 Message Date
Michael Newman a15d3b58d8 [1.3.x] Fixed #18135 -- Close connection used for db version checking
On MySQL when checking the server version, a new connection could be
created but never closed. This could result in open connections on
server startup.

Backport of 4423757c0c.
2012-05-27 22:09:49 +03:00
Julien Phalip e293d82c36 [1.3.X] Fixed #17972 -- Ensured that admin filters on a foreign key respect the to_field attribute. This fixes a regression introduced in [14674] and Django 1.3. Thanks to graveyboat and Karen Tracey for the report.
Backport of r17854 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17857 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-31 18:42:38 +00:00
Aymeric Augustin 0bbe7379ee [1.3.X] Fixed #17634 -- Optimized the performance of MultiValueDict by using append instead of copy and by minimizing the number of dict lookups. Backport of r17464 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17807 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-25 06:53:47 +00:00
Aymeric Augustin 15fb61c62c [1.3.X] Avoided a test failure if the settings module used to run the test suite is called "test_settings".
The globbing feature and this test were removed in 1.4.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17806 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-24 13:56:48 +00:00
Aymeric Augustin 8e73302070 [1.3.x] Fixed #16481 -- Adapted one raw SQL query in cull implementation of the database-based cache backend so it works with Oracle. Backport of r16635 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17805 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-24 12:26:46 +00:00
Aymeric Augustin fd2efb35fb [1.3.X] Fixed #16677 -- Fixed the future version of the ssi template tag to work with template file names that contain spaces. Backport of r16687 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17804 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-24 07:43:24 +00:00
Aymeric Augustin 651c0414a8 [1.3.X] Fixed #16812 -- Percent-encode URLs in verify_exists, to fix test failures on Python 2.5 and 2.6. Backport of r16838 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17803 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-24 07:36:23 +00:00
Ramiro Morales 92929d5ef4 [1.3.X] Fixed #17488 -- This test passed in 2011 only because 2012-01-01 is a Sunday. Thanks Florian Apolloner for the report and patch.
Fixes #17912. Thanks Julien for the report.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17759 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-17 12:58:16 +00:00
Claude Paroz 1dd8848beb [1.3.X] Fixed #17841 -- Clarified caching note about authentication backends. Thanks auzigog for the proposal and lukegb for the patch.
Backport of r17752 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17753 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-16 19:32:13 +00:00
Julien Phalip 2f6b8482f6 [1.3.X] Fixed #17908 -- Made some `contrib.markup` tests be skipped so they don't fail on old versions of Markdown. Thanks to Preston Holmes for the patch.
Backport of r17749 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17750 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-16 00:38:18 +00:00
Julien Phalip 838adb2312 [1.3.X] Ensured that some staticfiles tests get properly cleaned up on teardown. Thanks to Claude Paroz for the patch.
Backport of r17747 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17748 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-16 00:32:42 +00:00
Claude Paroz 2acf028b4b [1.3.X] Fixed #17900 -- StreamHandler output defaults to stderr. Thanks c4m3lo for the report.
Backport of r17741 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17742 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-15 07:58:19 +00:00
Paul McMillan 1f924cf72d [1.3.X] Fixed #17837. Improved markdown safety.
Markdown enable_attributes is now False when safe_mode is enabled. Documented
the markdown "safe" argument. Added warnings when the safe argument is
passed to versions of markdown which cannot be made safe.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17734 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-14 18:51:20 +00:00
Claude Paroz d498033818 [1.3.X] Updated some outdated external URLs in docs.
Backport of r17710 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17711 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-14 07:48:03 +00:00
Claude Paroz ddfa89b959 Fixed #17584 -- Updated create_template_postgis-debian.sh script for PostgreSQL 9.1 installs. Thanks akaihola for the initial patch.
Backport of r17706 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17707 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-13 22:25:10 +00:00
Jannis Leidel 6951879023 [1.3.X] Fixed the localization docs a little to point to the correct Transifex URL. Also reworded it a bit to follow the site's new UI.
Backport from trunk (r17690).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17691 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-12 22:13:34 +00:00
Jannis Leidel 523d6167d6 [1.3.X] Fixed #17737 -- Stopped the collectstatic management command from copying the wrong file in repeated runs. Thanks, pigletto.
Backport from trunk (r17612).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17613 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-01 23:03:46 +00:00
Carl Meyer dad3e55234 [1.3.X] Fixed broken link to python-markdown in contrib.markup docs.
Backport of r17608 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17609 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-01 19:34:23 +00:00
Timo Graham 41cd3b2ab1 [1.3.X] Fixed #17743 - Typo in topics/i18n/index.txt
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17587 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-25 12:55:41 +00:00
Timo Graham c0258f1da7 [1.3.X] Fixed #17757 - Typo in docs/intro/overview.txt; thanks kaushik1618.
Backport of r17584 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17585 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-24 22:54:00 +00:00
Timo Graham 38715d8af8 [1.3.X] Fixed #17749 - Documented better way of overriding ModelAdmin; thanks chrisdpratt and claudep.
Backport of r17582 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17583 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-24 22:50:58 +00:00
Chris Beaven b45fbc6667 [1.3.X] Don't let ALLOWED_INCLUDE_ROOTS be accidentally set to a string rather than a tuple.
Backport of r17571 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17572 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-22 00:52:19 +00:00
Timo Graham 0af93e108e [1.3.X] Fixed #16758 - Added a warning regarding overriding default settings; thanks cyclops for the suggestion & Aymeric Augustin for the patch.
Backport of r17566 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17567 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-20 19:08:56 +00:00
Timo Graham 4f6c36435c [1.3.X] Fixed #17390 - Added a note to topics/auth.txt regarding how to decorate class-based generic views; thanks zsiciarz for the patch.
Backport of r17564 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17565 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-20 18:58:34 +00:00
Aymeric Augustin 4d959686e6 [1.3.X] Fixed #17319 -- Made the example for set_language less error-prone. Backport of r17560 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17561 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-19 09:22:18 +00:00
Aymeric Augustin 25b5da2abd [1.3.X] Fixed #17166 -- Documented how FIXTURE_DIRS works in the inital data how-to, and edited related bits in the settings reference. Backport of r17558 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17559 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-19 09:04:19 +00:00
Aymeric Augustin 7baee7a03b [1.3.X] Fixed #17316 -- Mentionned that the MultipleProxyMiddleware provided as an example must run rather early. Backport of r17556 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17557 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-19 08:10:20 +00:00
Aymeric Augustin 2a5a0b8097 [1.3.X] Fixed #16452 -- Clarified that the DATE/DATETIME/TIME_INPUT_FORMATS settings have no effect when USE_L10N is True. Backport of r17554 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17555 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-19 08:00:59 +00:00
Aymeric Augustin 1addaafa0a [1.3.X] Fixed #17573 -- Documented MySQL's switch to InnoDB as default storage engine. Backport of r17552 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17553 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-19 07:42:02 +00:00
Timo Graham 9729ad7466 [1.3.X] Fixed #17706 - Improved short description example in Tutorial 2; thanks xbito and claudep.
Backport of r17550 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17551 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-18 21:51:18 +00:00
Timo Graham 5144f72be2 [1.3.X] Fixed #17685 - Typo in BaseDateListView.get_dated_items(); thanks ejb.
Backport of r17548 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-18 21:40:26 +00:00
Aymeric Augustin 813dc01cd8 [1.3.x] Fixed #15496 -- Corrected handling of base64 file upload encoding. Backport of r16176 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17546 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-18 10:11:17 +00:00
Timo Graham c63a454bb6 [1.3.X] Updated link to Django Debug Toolbar homepage.
Thanks to rowynm AT gmail DOT com for the report and to Claude Paroz for
the patch.

Fixes #17543.

Backport of r17376 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17523 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-14 23:05:23 +00:00
Timo Graham ce9916a2c8 Fixed #16653 - Added example of kwargs support for resolve(); thanks krzysiumed for the patch.
Backport of r17517 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17518 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-12 17:16:37 +00:00
Timo Graham f202387e6c [1.3.X] Fixed #17618 - Documented that variable names in template must not start with an underscore; thanks guillemette and krzysiumed.
Backport of r17504 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17505 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-11 12:47:58 +00:00
Ramiro Morales 2646df4537 [1.3.X] Fixed link to SpatiaLite 2.x initial SQL files.
Backport of [17491] and [17496] from trunk. Refs #17554.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17498 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-11 02:07:40 +00:00
Timo Graham a7a703dbdc [1.3.X] Fixed #17571 - Fixed documentation of skipUnlessDBFeature; thanks EnTeQuAk for the report.
Backport of r17459 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17460 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-05 15:54:01 +00:00
Timo Graham 46c08c8f95 [1.3.X] Fixed #17510 - Typo in docs/topics/class-based-views.txt; thanks andrew and noria.
Backport of r17457 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17458 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-05 15:41:53 +00:00
Ramiro Morales 33f9ba7ba0 [1.3.X] Fixed #17240 -- Replaced links to the online version of the docs by internal references.
Backport of [17100] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17397 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-26 15:00:57 +00:00
Ramiro Morales 723f995658 [1.3.X] Added note about deprecation of project-level translations to the deprecation timeline document.
Thanks Jannis for the report. Fixes #17588.

Backport of [17394] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17395 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-25 14:33:15 +00:00
Aymeric Augustin 0d7431774f [1.3.X] Fixed #17575 -- Typo in an example of ModelAdmin.list_filter. Thanks apelisse AT gmail com for the report.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17388 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-22 18:53:41 +00:00
Aymeric Augustin 405a0ba9de [1.3.X] Fixed the link to the IRC logs in the README and docs. Refs #17453, #16277. Backport of [17149] and [17385].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17386 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-21 15:48:08 +00:00
Jacob Kaplan-Moss 2b793b1a35 [1.3.X] Fixed #17078: properly invoke IPython 0.12.
Backport of r17379.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17380 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-19 17:39:59 +00:00
Carl Meyer 9bc6119daf Fixed #17538 -- corrected the section in tutorial 3 about the handler404 default. Thanks matt at brozowski dot com for the report.
Backport of r17369 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17370 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-12 22:17:22 +00:00
Aymeric Augustin 9e12492616 [1.3.X] Fixed #17100 -- Typo in the regex for EmailValidator. Backport of r17349 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17350 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-07 18:48:12 +00:00
Aymeric Augustin a9789c0d44 [1.3.X] Fixed #17415 -- Reset database sequence for Site's pk after creating the default site with an explicit pk. Backport of r17343 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17344 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-07 09:05:36 +00:00
Carl Meyer ca14105128 [1.3.X] Clarified deployment docs to avoid giving users the impression that staticfiles should be used to actually serve files in production.
Backport of r17338 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17339 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-04 18:35:45 +00:00
Timo Graham 79248a7e0a [1.3.X] Fixed #11986 - Added sudo to Mac OS permissions note in tutorial.
Backport of r17318 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17319 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-31 15:35:04 +00:00
Timo Graham 7bee6b451a [1.3.X] Fixed #640 - Documented that changing order_with_respect_to requires a schema change; thanks fcurella and poirier for the draft patches.
Backport of r17316 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17317 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-31 15:30:41 +00:00
Timo Graham 580389c588 [1.3.X] Fixed #702 - Documented that ManyToMany fields can't be in unique_together; thanks poirier for the patch.
Backport of r17314 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17315 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-31 00:43:31 +00:00