Commit Graph

5029 Commits

Author SHA1 Message Date
Russell Keith-Magee 1d9bc59534 [1.1.X] Fixed #10976 -- Isolated contrib.auth tests so they will always pass, regardless of any local templates. Thanks to aarond10 for the report, and SmileyChris for turning that into a patch.
Backport of r12420 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12422 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-13 12:32:49 +00:00
Russell Keith-Magee bf11ab2b21 [1.1.X] Fixed #12011 -- Modified the test client to preserve the request scheme on a redirect. Thanks to tgardner for the report and patch.
Backport of r12419 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12421 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-13 12:32:01 +00:00
Russell Keith-Magee 0e9f1553e1 [1.1.X] Corrected merge of r12411 to 1.1.X branch (see r12415).
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12416 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-11 13:23:11 +00:00
Russell Keith-Magee f764d7ffb1 [1.1.X] Fixed #11483 -- Modified db cache backend to use db backend functions for date conversion, avoiding problems under Jython. Thanks to Leo Soto for the report and patch.
Merge of r12411 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12415 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-11 13:12:38 +00:00
Russell Keith-Magee d4a34b5508 [1.1.X] Fixed #11623 -- Corrected table name quoting in db cache backend. Thanks to Fraser Nevett for the report and fix.
Backport of r12410 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12414 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-11 13:11:47 +00:00
Russell Keith-Magee a9282168f5 [1.1.X] Fixed #12189 -- Corrected rollback behavior in database cache backend. Thanks to Lakin Wecker for the report.
Backport of r12409 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12413 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-11 13:10:52 +00:00
Russell Keith-Magee 3792b2cd9f [1.1.X] Fixed #12399 -- Added handling for memcache timeouts longer than 30 days. Thanks to houdinihound for the report, and gciotta for the patch.
Backport of r12408 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12412 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-11 13:09:56 +00:00
Karen Tracey ad08f07722 [1.1.X] Fixed #11535: Corrected SQL generated for queries involving generic relations and ORed Q objects. Thanks to brianglass for report, tobias for fix and test, and Alex for review.
r12405 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12406 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-10 19:24:44 +00:00
Jannis Leidel 01d4316874 [1.1.X] Fixed #3594 - Added ability to discard the language catalog in the JavaScript i18n view in case the selected language is English but no English translation catalog actual exists, e.g. due to being the language translated from. Thanks to msaelices, aryx and Ramiro Morales.
Backport of r12384.


Conflicts:

	tests/regressiontests/views/tests/i18n.py

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12385 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-05 01:54:22 +00:00
Karen Tracey 75146a3d7b [1.1.X] Really this time -- fixed #12721: Ensured objects with generic relations that use non-integer object ID fields can be deleted on PostgreSQL. Thanks much carljm for patch and Russ for review.
Remainder of r12353 from trunk, previous attempt only picked up the new tests.



git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12356 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-29 18:05:58 +00:00
Russell Keith-Magee 32b573d36b [1.1.X] Fixed #12720 -- Corrected handling of cookies in the TestClient. Thanks to James Henstridge for the report and patch.
Backport of r12343 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12344 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-28 14:47:42 +00:00
Russell Keith-Magee 6d02f50a8b [1.1.X] Fixed #12719 -- Added initial Albanian translation. Thanks to Besnik Bleta.
Backport of r12341 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12342 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-28 14:18:46 +00:00
Russell Keith-Magee 4a1be98aee [1.1.X] Fixed #8758 -- Corrected handling of tag creation in feeds when the URL contains a port number.
Partial backport of r12338 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12340 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-28 13:59:57 +00:00
Russell Keith-Magee dcd58497da [1.1.X] Fixed some problems with the Frisian translation added in r12324.
Backport of r12333 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12334 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-28 02:17:30 +00:00
Russell Keith-Magee 3943979095 [1.1.X] Fixed #12711 -- Added the start of a Frisian locale. Thanks to Wim Benes.
Backport of r12324 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12332 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-28 02:10:08 +00:00
Russell Keith-Magee cf21fec23d [1.1.X] Fixed #12419 -- Updated Romanian translation. Thanks to xlotlu.
Backport of r12323 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12331 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-28 02:09:24 +00:00
Russell Keith-Magee d33cab6f19 [1.1.X] Fixed #12357 -- Added a start of a Bosian translation. Thanks to Tim Langeman.
Backport of r12322 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12330 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-28 02:08:50 +00:00
Russell Keith-Magee fa092e2746 [1.1.X] Fixed #12015 -- Updated Czech translation. Thanks to Vlada Macek.
Backport of r12321 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12329 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-28 02:08:05 +00:00
Russell Keith-Magee c162ac0757 [1.1.X] Fixed #11894 -- Updated Slovakian translation. Thanks to mandre.
Backport of r12320 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12328 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-28 02:07:35 +00:00
Russell Keith-Magee 3e4f810702 [1.1.X] Fixed #11666 -- Updated Dutch translation. Thanks to joeri and tinodb.
Backport of r12319 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12327 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-28 02:06:58 +00:00
Russell Keith-Magee 85b011287e [1.1.X] Fixed #11645 -- Updated French translation. Thanks to claudep.
Backport of r12318 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12326 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-28 02:06:28 +00:00
Russell Keith-Magee 11d5faae54 [1.1.X] Fixed #11468 -- Updated Norwegian translation. Thanks to jonklo.
Backport of r12317 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12325 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-28 02:05:58 +00:00
Justin Bronn 0c9f63f626 [1.1.X] Fixed #11969 -- `Field.post_create_sql` hook should not be called for unmanaged models. Thanks, jtiai for report.
Backport of r12313 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12314 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-27 23:52:15 +00:00
Ian Kelly 19353d9c59 [1.1.X] Fixed #11017: Changed implementation of Oracle LIKE lookups to enable index usage. Thanks to Jani Tiainen for this workaround. Backport of r12293 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12294 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-25 19:30:56 +00:00
Luke Plant a3f4402853 [1.1.X] Fixed #12470 - encoding of comma and semi-colon in cookies.
This is a backport of r12282 from trunk.

The original bug was about CookieStorage, which does not exist in 1.1.X,
but the fix involved the underlying cookie storage.

The change fixes other bugs with cookies for Internet Explorer and Safari,
hence it is backported.  It could, however, also cause backwards
incompatibilities with existing javascript that may parse cookie values that
contain commas or semi-colons, and, very rarely, with existing cookie values
manipulated server side.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12283 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-23 23:25:41 +00:00
Justin Bronn da954e876b [1.1.X] Fixed #12664 -- Fixed `GenericRelation.m2m_reverse_name` to return the correct pk column name.
Backport of r12276 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12277 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-22 19:43:14 +00:00
Karen Tracey 46d8ae7c24 [1.1.X] Fixed #10015 -- PostgreSQL 8.3+ no longer barfs when passing an integer as a filter() value for a CharField? or TextField?. Thanks, carljm
Backport of r12150 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12263 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-19 16:55:22 +00:00
Jannis Leidel 3a417736bc [1.1.X] Fixed #12230 - Updated utils.translation.to_locale to support the special sr_Latn locale. Thanks to Janos Guljas.
Backport of r12056.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12251 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-17 23:10:23 +00:00
Jannis Leidel d1e7fdea3f [1.1.X] Fixed #12017 - Overriding the default error message of the UKPostcodeField works again. Backport of r12044 and r12249.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12250 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-17 22:51:25 +00:00
Jannis Leidel abea4e6ee3 [1.1.X] Fixed #12013 - Marked some default error messages for translation.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12246 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-17 22:20:10 +00:00
Jannis Leidel dc3d26bb59 [1.1.X] Fixed #11301 - Properly hide SplitHiddenDateTimeWidget. Thanks to David Gouldin for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12242 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-17 22:11:23 +00:00
Jannis Leidel 889c110e51 [1.1.X] Fixed #11843 - Give MultipleHiddenInput different IDs. Thanks Chris Beaven.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12241 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-17 22:11:00 +00:00
Jannis Leidel 8eaffeac8a [1.1.X] Fixed #11757 - Set mimetype when responding with HttpResponseNotModified in django.server.static.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12240 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-17 22:10:37 +00:00
Jannis Leidel 0216255632 [1.1.X] Fixed #10717 - Escape result of admin_media_prefix template tag.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12239 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-17 22:10:19 +00:00
Jannis Leidel 7b5b1c7ecd [1.1.X] Fixed #11478 - Use namespacing for URLs to i18n JavaScript in admin.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12238 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-17 22:09:59 +00:00
Jannis Leidel 3a6f58a169 [1.1.X] Fixed #12059 - Let TimeField.to_python correctly return a datetime.time object when having a datetime object.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12237 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-17 22:09:33 +00:00
Jannis Leidel 4d409c0b3b [1.1.X] Fixed #12480 - Use month variable for headline text.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12236 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-17 22:09:07 +00:00
Jannis Leidel fe4d3f89e4 [1.1.X] Fixed #12220 - Added Serbian Latin to list of languages in global settings. Thanks, Janos Guljas.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12235 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-17 22:08:47 +00:00
Luke Plant 3de16688a9 [1.1.X] Fixed #12506 - 'lazy' fails when there are multiple expected classes with the same method
Thanks to Alex for report and patch

Backport of r12104 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12105 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-05 13:20:19 +00:00
Luke Plant d4f9bff7ef [1.1.X] Fixed #12503 - form examples don't validate according to w3c
Thanks to skyl for the report.

Backport of r12086 from trunk


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12087 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-04 22:22:16 +00:00
Gary Wilson Jr 07fa03dde4 [1.1.X] Fixed #11615 -- Changed test runners to use an exit status code of 1 for any number of failed tests. The previous behavior of using an exit status code equal to the number of failed tests produced incorrect exit status codes when the number of test failures was 256 or greater. Thanks to lamby for the report and patch.
Backport of r12068 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-03 18:57:15 +00:00
Gary Wilson Jr f686075083 [1.1.X] Fixed #12445 -- Added ' (single quote), @ (at sign), and ~ (tilde) to safe characters in `iri_to_uri` function.
Backport of r12066 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12067 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-03 18:07:11 +00:00
Russell Keith-Magee e8b001f46f [1.1.X] Fixed #12476 -- Forced the rollout of generators passed to SortedDict so that the data source can be read twice. Thanks to gsf for the report, and Alex for the patch.
Backport of r12064 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12065 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-03 06:56:10 +00:00
Justin Bronn 30c6021f80 [1.1.X] When `GEOSFree` is not available on NT platforms, have to specifically use the MS C library.
Backport of r12024 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12025 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-29 10:41:44 +00:00
Justin Bronn db867be91e [1.1.X] Fixed #12344 -- Using `select_related()` on geographic fields with the Oracle spatial backend now works.
Backport of r12022 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12023 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-29 10:35:59 +00:00
Luke Plant 58bf653a26 [1.1.X] Fixed #11191 - Admin throws 500 instead of 404 for PK of incorrect type
Thanks to mmachine for report and test, and Chris Beaven for the patch

Backport of r12011 from trunk



git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12012 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-28 14:15:34 +00:00
Justin Bronn f1fe7c00e2 [1.1.X] Fixed #11609 -- The `check_pointer` error checking routine and `GDALBase._set_ptr` are now able to handle the long pointer addresses used by some x86_64 platforms. Thanks, rmkemker, for the bug report.
Backport of r12006 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12007 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-27 18:13:20 +00:00
Justin Bronn 90f7dfb461 [1.1.X] Fixed #12450 -- `GEOSFree` was really added in GEOS 3.1.1, not 3.1.0. Thanks, jpwatts for the bug report.
Backport or r12004 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12005 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-27 08:13:37 +00:00
Nicola Larosa 4c5429d229 [1.1.X] Italian translation updated
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11999 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-26 16:36:00 +00:00
Justin Bronn 94b718915d [1.1.X] Fixed #12438 -- now use `GEOSFree` to free string pointers allocated within GEOS when available; now parse out subminor version, and added a `GEOS_VERSION` tuple.
Backport of r11979 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11980 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-24 15:01:47 +00:00
Jannis Leidel 116ff7ff35 [1.1.X] Fixed #12425 - Typo in Ukrainian translation.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11978 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-24 14:29:59 +00:00
Marc Fargas 859ac5be13 [1.1.X] Updated Spanish translation.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11958 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-22 16:18:54 +00:00
Marc Fargas 24b5489354 [1.1.X] Updated Catalan translation
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11957 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-22 16:18:30 +00:00
Russell Keith-Magee 7d6213e0aa [1.1.X] Fixed #11936 -- Removed deferred models from the list returned by the app_cache. Thanks to ryszard for the report, and clamothe for the initial patch.
Backport of r11938 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11942 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-22 11:20:43 +00:00
Luke Plant b15d762d7a [1.1.X] Fixed #10927 - Content Types shortcut view throws 500s instead of 404s
Thanks to Jeremy Dunck/Alex Gaynor for the patch

Backport of r11917 from trunk


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11919 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-19 15:31:28 +00:00
Luke Plant c81f1da152 [1.1.X] Fixed #6961 - loaddata fails if models is a package instead of a module
Thanks to pmd for report, zhaoz, mmalone and justinlilly for patch

Backport of 11914 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11918 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-19 15:27:50 +00:00
Justin Bronn 281114d209 [1.1.X] Fixed #12234 -- Create additional indexes that use the appropriate operation class for PostgreSQL `varchar` and `text` columns when `db_index=True`.
Backport of r11912 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11913 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-19 08:24:20 +00:00
Jacob Kaplan-Moss 321fe61f64 [1.1.X] Fixed #11753 - Q objects with callables no longer explode on Python 2.4. Thanks, Jeremy Dunck.
Backport of [11901].

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11903 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-17 22:11:39 +00:00
Justin Bronn de2c7d9fdd [1.1.X] Fixed #12390 -- `Distance` and `Area` objects now support multiplication when they are the right-hand side.
Backport of r11898 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11899 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-17 18:29:05 +00:00
Russell Keith-Magee de64970091 [1.1.X] Updated BaseGenericInlineFormSet to match the changes made to BaseInlineFormSet in r11874.
Backport of r11885 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11886 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-17 07:28:26 +00:00
Jarek Zgoda 3071d098db [1.1.X] Polish translations updated (some GIS keys still unresolved)
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11882 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-16 19:41:59 +00:00
Karen Tracey f4282336b3 [1.1.X] Fixed #12385: Made built-in field type descriptions in admindocs translatable again. Many thanks to Ramiro for the problem report and patch.
r11878 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11879 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-16 18:17:18 +00:00
Russell Keith-Magee 632a0e9a8d [1.1.X] Fixed #10263 -- Added a queryset argument to BaseInlineFormSet, normalizing with BaseModelFormSet, and allowing for custom ordering/subsets in inlines. Thanks to Paulo Scardine for the patch.
Backport of r11874 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11875 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-16 14:53:42 +00:00
Karen Tracey eef4739dee [1.1.X] Made the message strings added in r11838 visible to makemessages. Refs #12281.
r11864 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11865 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-14 16:05:28 +00:00
Karen Tracey fee560f4e5 [1.1.X] Fixed #10969: Made US State field a CharField, fixing a few oddities in its behavior. Thanks Paul McLanahan.
r11847 from trunk.



git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11859 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-13 22:08:03 +00:00
Karen Tracey 64736fe37f [1.1.X] Fixed #12146: Corrected Canadian postal code validation. Thanks paulschreiber and Mark Lavin.
r11844 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11845 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-13 17:05:17 +00:00
Karen Tracey 6c91e6ecbc [1.1.X] Fixed #12281: Added some helpful messages when Go is pressed in admin actions and there
is nothing to do because no action was selected or no items are selected. 

r11837 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11838 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-12 22:02:55 +00:00
Karen Tracey fa59129753 [1.1.X] Fixed #7977: Fixed admindocs to use docstrings instead of a static array to locate type information. Thanks J. Clifford Dyer.
r11833 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11834 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-12 20:36:31 +00:00
Karen Tracey 8bb3763c2b [1.1.X] Fixed #11632: Fixed the id for hidden initial widget so that it is different from the id for its visible counterpart. Thanks geber@datacollect.com and Mark Lavin.
r11826 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11827 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-12 18:22:09 +00:00
Jacob Kaplan-Moss c1a8bd6779 [1.1.X] Fixed #10130: you may now delete attributes on `settings`. Thanks, jcassee.
Backport of r11824.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11825 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-12 17:53:32 +00:00
Karen Tracey 5e6c3d24b3 [1.1.X] Fixed #11972: Corrected title filter handling of numbers followed by letters. Thanks schwank@gmail.com and Randy Barlow.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11823 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-12 17:29:46 +00:00
Brian Rosner 512ee70527 [1.1.X] Fixed edge case that breaks the test suite on versions of Python > 2.6.4
Before http://svn.python.org/view?view=rev&revision=74647 it was possible to
pass a SimpleCookie to load, but this no longer works due to a different bug
in Python the said revision fixed.

My guess is a SimpleCookie was never intended to be passed through load which
is perfectly reasonable.

Backport of r11820 from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11821 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-12 15:31:14 +00:00
Russell Keith-Magee 9275297046 [1.1.X] Fixed #11874 -- Optimizations and cleanups for SortedDict. Thanks to Alex Gaynor and Armin Ronacher for the report and patch.
Backport of r11815 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11816 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-12 06:02:42 +00:00
Karen Tracey 79d8d683d2 [1.1.X] Fixed #12349: Added missing unquote in admin history view. Thanks for the report guard.
r11808 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-10 20:01:59 +00:00
Justin Bronn 58c19c324b [1.1.X] Fixed #12340 -- `BaseGenericInlineFormSet.get_queryset` now returns an ordered queryset.
Backport of r11800 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11801 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-09 04:24:05 +00:00
Russell Keith-Magee 47f1330be1 [1.1.X] Fixed #12242 -- Corrected a problem with masking extra selects() in a DateQuerySet. Thanks to Alex Gaynor for his help debugging this one.
Backport of r11748 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11749 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-11-19 04:37:26 +00:00
Brian Rosner 4cba436269 [1.1.X] Fixed #5034 -- honor request.urlconf in reverse and resolve.
This enables {% url %} to honor request.urlconf set from process_request
middleware methods.

Thanks SmileyChris for the initial patch work.

Backport of [11740] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11741 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-11-16 01:59:54 +00:00
Russell Keith-Magee 6ec45f3cb4 [1.1.X] Fixed #12163 -- Corrected the unpickling of non-deferred models. Thanks to rfugger for the report and test case.
Backport of r11732 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11733 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-11-11 13:08:33 +00:00
Russell Keith-Magee abd4344efe [1.1.X] Fixed #11144 -- When a to/from/cc header contains unicode, make sure the email addresses are parsed correctly (especially with regards to commas). Thanks to rmt for the patch.
Backport of r11719 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11720 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-11-04 11:28:56 +00:00
Russell Keith-Magee 9a38c1cdb2 [1.1.X] Fixed #11849 -- Corrected handling of use_tls in the SMTP mail handler. Thanks to aromano for the report.
Backport of r11714 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11715 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-11-04 02:01:54 +00:00
Justin Bronn a9c816c41b [1.1.X] Fixed #12101 -- `OGRGeometry` does not need to create a clone of the `SpatialReference` object upon assignment.
Backport of r11707 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11708 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-11-03 06:18:52 +00:00
Justin Bronn 30ebd268be [1.1.X] Fixed #12093 -- `LayerMapping` now takes into account model inheritance when looking for the geometry column; forgot to diable extent regression test on MySQL.
Backport of r11703 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11704 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-11-02 02:24:01 +00:00
Russell Keith-Magee fe9a45e514 [1.1.X] Fixed #12121 -- Modified __reduce__ on a model to avoid an infinite recursion problem that occurs on Python 2.4. Thanks to emulbreh for the report.
Backport of r11691 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-11-01 03:06:44 +00:00
Brian Rosner 53275a4775 [1.1.X] Fixed #11872 -- Instantiate the correct model in BaseInlineFormSet.__init__ when instance is None. Thanks tobias.
Backport of [11688] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11689 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-30 09:12:52 +00:00
Russell Keith-Magee 72933294d2 [1.1.X] Fixed #12057 -- Corrected regression of caching performance when a model contained a callable default. Thanks to Michael Thornhill for the excellent assistance tracking this problem.
Backport of r11681 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11682 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-29 14:36:10 +00:00
Luke Plant ebe5405282 Added a no-op {% csrf_token %} tag to 1.1.X, to ease transition of apps to 1.2
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11674 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-27 21:50:58 +00:00
Jacob Kaplan-Moss 1ab0b23df6 [1.1.X] Fixed #11057: having no actions in the admin (`actions=None`) no longer messes up the layout. Thanks, rvdrijst.
Backport of [11670] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11671 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-27 20:57:13 +00:00
Jacob Kaplan-Moss bf33627c63 [1.1.X] Fixed #11371: Made `django.test.Client.put()` work for non-form-data PUT (i.e. JSON, etc.). Thanks, phyfus. Backport of [11656] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11657 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-26 15:04:32 +00:00
Luke Plant 1f0266bd18 [1.1.X] Fixed #9163 - CsrfMiddleware needs to reset ETag header
Thanks to carljm for report and patch.

Backport of r11650 from trunk


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11651 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-24 11:27:59 +00:00
Luke Plant 84dac3aa82 [1.1.X] Fixed #12067 - check_dependencies in contrib.admin.sites not triggered using new style admin include
Thanks to robhudson for report and patch.

Backport of r11648 from trunk


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11649 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-24 10:17:25 +00:00
Brian Rosner b06d1be764 [1.1.X] Moved _get_foreign_key call after testing for fk_name fixing a broken test.
Backport of [11643] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11644 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-23 20:48:52 +00:00
Luke Plant aaa9ccfe14 [1.1.X] Fixed #12060 - equality tests between User and SimpleLazyObject-wrapped User failed.
Also added more tests for SimpleLazyObject
  
Thanks to ericholscher for report.

Backport of r11637 from trunk


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11638 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-20 14:14:27 +00:00
Luke Plant c1b3808ec0 [1.1.X] Fixed #12049 - LazyObject-wrapped User breaks queries in template tags
Thanks to chipx86 for the report and patch.

Backport of r11634 from trunk


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11635 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-19 21:17:33 +00:00
Brian Rosner bde4c6d995 [1.1.X] Moved the call to _get_foreign_key to run in all cases catching incorrect inline setup sooner.
Backport of [11631] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11633 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-19 19:21:08 +00:00
Brian Rosner fb8653ad0e [1.1.X] Fixed #11709 — Pass inline fk_name attribute when grabbing foreign key to test for exclusion. Thanks yishaibeeri for the report.
Backport of [11630] from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11632 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-19 19:20:52 +00:00
Justin Bronn 72bc0818dd [1.1.X] The `OGRGeometry.coord_dim` property may now be set; implemented a work-around for an OGR bug that changed geometries to 3D after transformation. Refs #11433.
Backport of r11628 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11629 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-17 17:46:44 +00:00
Luke Plant bc3f59787f [1.1.X] Fixed a regression for Python 2.6 introduced in r11624 on this branch.
Backport of r11625 from trunk.



git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11626 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-15 14:18:52 +00:00
Luke Plant e2b83db9ef [1.1.X] Fixed #6552, #12031 - Make django.core.context_processors.auth lazy to avoid "Vary: Cookie"
Thanks to olau@iola.dk, Suor for the report

Backport of r11623 from trunk


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11624 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-14 18:14:19 +00:00
Jacob Kaplan-Moss 66939c28b9 [1.1.X] Fixed #11993: fixed the the floatformat filter on NaN values in Python 2.6.3. Thanks, kklimonda. Backport if [11619] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11620 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-12 16:57:01 +00:00
James Bennett 68ac924bb3 [1.1.X] Reset 1.1 branch packaging data post-release.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11615 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-09 22:17:43 +00:00
James Bennett 347346159b [1.1.X] Bump version number for security release.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11606 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-09 21:06:09 +00:00
Jacob Kaplan-Moss e3e992e18b [1.1.X] SECURITY ALERT: Corrected regular expressions for URL and email fields.
Certain email addresses/URLs could trigger a catastrophic backtracking
situation, causing 100% CPU and server overload. If deliberately triggered, this
could be the basis of a denial-of-service attack.

This security vulnerability was disclosed in public, so we're skipping our
normal security release process to get the fix out as soon as possible.

This is a security related update. A full announcement will follow.



git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11604 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-09 20:59:05 +00:00
Russell Keith-Magee 17173ac65a [1.1.X] Fixed #11995 -- Modified the admin site definition for comments so that users are shown as a raw id list. Thanks to James Bennett for the report and patch.
Backport of r11601 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11602 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-08 13:32:23 +00:00
Russell Keith-Magee a2c7fe52a8 [1.1.X] Fixed #11886 -- Corrected handling of F() expressions that use parentheses. Thanks to Brent Hagany for the report.
Merge of r11581 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11582 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-16 12:12:54 +00:00
Justin Bronn 6febb7ef15 [1.1.X] Fixed #11827: Can now calculate extent in Oracle on tables with one point.
Backport of r11577 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11578 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-13 17:46:44 +00:00
Justin Bronn 5f68bf0182 [1.1.X] Fixed #11624: `render_to_kmz` no longer balks on non-ASCII data.
Backport of r11527 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11575 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-13 16:14:58 +00:00
Russell Keith-Magee 0c222b61b4 [1.1.X] Fixed #11746 -- Marked a string for translation in the FR localflavor. Thanks to iapain for the report and patch.
Merge of r11552 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11574 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-13 06:34:11 +00:00
Russell Keith-Magee db1768becd [1.1.X] Fixed #11862 -- Corrected an error in the Hebrew translation. Thanks to Adam Rimon for the fix.
Merge of r11550 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11572 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-13 06:33:49 +00:00
Russell Keith-Magee 39c53b4bf3 [1.1.X] Fixed #11660 -- Corrected the CONTENT_TYPE and CONTENT_LENGTH headers provided by the mod_python handler. Thanks to Nowell Strite and Tareque Hossain for the report and fix.
Merge of r11528 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11530 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-12 22:05:23 +00:00
James Bennett 350d7ad5a1 This branch is 1.1.1 pre-alpha.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11501 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-11 19:08:55 +00:00
Luke Plant 7c53c2618d Fixed #10968 - Form.errors should use Form.error_class.
Thanks for report and initial patch, matehat.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@11498 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-11 10:47:40 +00:00
Luke Plant 4decf03f9c Fixed #11502 - wrong escaping in admin.
Thanks Tomasz Elendt.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@11497 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-11 09:42:17 +00:00
Luke Plant 49cf7f4a51 Fixed Widget.__init__() for Python 2.6 and greater. Refs #11703
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11496 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-11 09:08:07 +00:00
Jacob Kaplan-Moss c33355d86a As long as we're micro-optomizing, do it right -- using map() shaves another dozen or so seconds off the test suite run time.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11495 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-10 22:49:05 +00:00
Jacob Kaplan-Moss 9d1a7c203c Micro-optomization to SortedDict.values(). Yes, it looks silly, but it shaves 30 seconds (5%) off the run time of the test suite.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11494 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-10 22:23:24 +00:00
Luke Plant 84ef9dabfa Fixed #11061: Malformed POST request causes TypeError in AdminSite.login().
Thanks vvd


git-svn-id: http://code.djangoproject.com/svn/django/trunk@11493 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-10 16:50:57 +00:00
Luke Plant d18dace8eb Fixed #11703: Added missing Super calls to 2 widget classes.
Thanks Rupe



git-svn-id: http://code.djangoproject.com/svn/django/trunk@11491 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-10 16:30:41 +00:00
Luke Plant 18a67e1069 Fixed #11591: invalid HTML in tabular.html.
Thanks rlaager(at)wiktel.com



git-svn-id: http://code.djangoproject.com/svn/django/trunk@11489 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-10 16:12:08 +00:00
Luke Plant 976b18a494 Fixed #11252: Invalid XHTML when filtering a paginated list.
Thanks daemondazz


git-svn-id: http://code.djangoproject.com/svn/django/trunk@11486 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-10 15:36:33 +00:00
Luke Plant bdde46de63 Fixed #10950 - unused import.
Thanks dc


git-svn-id: http://code.djangoproject.com/svn/django/trunk@11485 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-10 15:27:44 +00:00
Luke Plant 95393aedc9 Fixed #11621 - don't copy .pyo and .py.class files from example app/project
Thanks fwierzbicki, Steve Milner


git-svn-id: http://code.djangoproject.com/svn/django/trunk@11483 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-10 15:06:04 +00:00
Luke Plant 4b82421a85 Improved NoReverseMatch error message when invalid args/kwargs are passed.
Refs #8611



git-svn-id: http://code.djangoproject.com/svn/django/trunk@11482 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-10 11:08:16 +00:00
Luke Plant 4a5630fe75 Removed unnecessary keys in django.contrib.auth.test.__test__
Only doctest tests, and not TestCases, need to be in __test__ AFAICS.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@11481 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-10 09:51:27 +00:00
Ian Kelly dcf3be7a62 Fixed #10566: Added support for cx_Oracle compiled with the WITH_UNICODE flag.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11477 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-08-24 15:45:48 +00:00
Matt Boersma e263cc0dc5 Fixed #11049: introspection on Oracle now identifies IntegerFields correctly.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11475 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-08-21 21:42:39 +00:00
Karen Tracey eaf1f7d6e3 Fixed #11534: Improved wording for admin delete confirmation. Thanks hanksims and others who reported this.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11447 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-08-13 17:16:29 +00:00
Karen Tracey ab6d6896c4 Fixed #11471: Fixed typo in a comment in admin options.py. Thanks adamv.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11446 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-08-13 17:04:42 +00:00
James Bennett 70b3b68c06 Trunk is now 1.2 pre-alpha.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11369 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-30 19:57:49 +00:00
James Bennett 2735836887 Update packaging info for 1.1 release.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11364 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-29 05:51:03 +00:00
Jacob Kaplan-Moss d78cf61c99 BACKWARDS-INCOMPATIBLE CHANGE: Removed SetRemoteAddrFromForwardedFor middleware.
In a nutshell, it's been demonstrated that this middleware can never be made reliable enough for general-purpose use, and that (despite documentation to the contrary) its inclusion in Django may lead application developers to assume that the value of ``REMOTE_ADDR`` is "safe" or in some way reliable as a source of authentication. So it's gone.

See the Django 1.1 release notes for full details, as well as upgrade instructions.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11363 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-29 05:35:51 +00:00
James Bennett 1349c7bd62 We don't need to put the 'final' bit in the version number, and it messes up some pypi stuff.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11358 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-29 04:10:05 +00:00
Russell Keith-Magee 8bee4604a1 SECURITY ALERT: Corrected a problem with the Admin media handler that could lead to the exposure of system files. Thanks to Gary Wilson for the patch.
This is a security-related update. A full announcement, as well as backports for 1.0.X and 0.96.X will be forthcoming.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11351 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-29 02:40:14 +00:00
Russell Keith-Magee d1cb1eb79e Fixed #11575 -- Updated Thai translation. Thanks to KayEss.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11349 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-29 00:25:06 +00:00
Russell Keith-Magee a403a64acc Fixed #11575 -- Updated Thai translation. Thanks to KayEss.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11346 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-28 14:40:19 +00:00
Russell Keith-Magee bbd2953a8a Fixed #11567 -- Updated Danish translation. Thanks to Finn Gruwier Larsen.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11345 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-28 14:39:11 +00:00
Russell Keith-Magee 3412860f89 Fixed #11428 -- Ensured that SQL generating commands and dumpdata don't include proxy models in their output. Thanks to Anssi Kaariainen for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11343 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-27 14:32:30 +00:00
Nicola Larosa e00150af15 Italian translation: further corrections
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11341 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-27 09:11:41 +00:00
Justin Bronn 1707304bad Fixed test cases and `GeoQuerySet.geojson` to support PostGIS 1.4.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11340 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-27 04:21:31 +00:00
Nicola Larosa 28c6aee043 Italian translation: more corrections
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11337 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-26 17:26:43 +00:00
Nicola Larosa a25dde222c Italian translation: updates, corrections, added ugly but more correct suffixes to some gender-varying words
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11334 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-26 16:52:22 +00:00
Nicola Larosa be9a8fb851 Italian translation: commit of regenerated django.po to have significant commit diffs afterwards
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11333 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-26 15:49:21 +00:00
Russell Keith-Magee e3410b4ecd Fixed #11540 -- Updated Estonian translation. Thanks to Erik Allik and Mart Sõmermaa.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11331 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-25 05:29:41 +00:00
Russell Keith-Magee a69a95b2a4 Fixed #11550 -- Updated Macedonian translation. Thanks to Vasil Vangelovski.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11330 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-25 05:28:42 +00:00
Russell Keith-Magee 5d57edcbfc Fixed #11543 -- Updated Norwegian translation. Thanks to jonklo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11324 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-24 14:18:06 +00:00
Jannis Leidel 007bfddc1f Updated German translation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11318 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 17:48:00 +00:00
Ramiro Morales c8f4d37565 Updated Argentinian spanish translation for trunk.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11316 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 15:01:48 +00:00
Russell Keith-Magee 67505210f2 Fixed #11528 -- Updated Traditional Chinese translation. Thanks to Qing Feng/
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11315 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 14:32:26 +00:00
Russell Keith-Magee 53d16b1175 Fixed #11532 -- Corrected the link used for edit_inline foreign keys in admin when the admin is deployed using the old style admin.root approach. Thanks to JP for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11314 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 14:31:33 +00:00
Russell Keith-Magee a135608d91 Fixed #11408 -- Updated Brazilian Portuguese translation. Thanks to Guilherme Gondim.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11313 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 13:58:00 +00:00
Russell Keith-Magee 92af0734db Fixed #11045 -- Updated Dutch translation. Thanks to joeri and rvanlaar.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11312 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 13:27:06 +00:00
Russell Keith-Magee 7dc35765c7 Fixed #11530 -- Updated Portuguese translation. Thanks to Nuno Mariz.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11311 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 13:25:58 +00:00
Russell Keith-Magee 90d099fc35 Fixed #11528 -- Updated Traditional Chinese translation. Thanks to Qing Feng.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11310 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 13:24:52 +00:00
Russell Keith-Magee 1f044ed37a Fixed #11525 -- Updated Russian translation. Thanks to dc and kmike.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11309 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 13:23:34 +00:00
Russell Keith-Magee 41852f0bfe Fixed #11524 -- Updated Japanese translation. Thanks to Takashi Matsuo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11308 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 13:22:05 +00:00
Russell Keith-Magee 6e2fe421d5 Fixed #11507 -- Updated Bengali translation. Thanks to Nasimul Haque.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11307 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 13:20:25 +00:00
Russell Keith-Magee d0affb2bbd Fixed #11467 -- Updated Macedonian translation. Thanks to Vasil Vangelovski.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11306 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 13:18:45 +00:00
Russell Keith-Magee 52cb164ffd Fixed #11408 -- Updated Brazilian Portuguese translation. Thanks to Guilherme Gondim.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11305 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 13:17:10 +00:00
Russell Keith-Magee 507e07e58e Fixed #11323 -- Updated Korean translation. Thanks to Hyun Mi Ae and Joongi Kim.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11304 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 13:15:30 +00:00
Russell Keith-Magee e8789de1b4 Fixed #11067 -- Updated Arabic translation. Thanks to Ossama M. Khayat.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11303 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 13:13:17 +00:00
Russell Keith-Magee a2bf2ebbbd Fixed #11040 -- Updated Finnish translation. Thanks to Leo Honkanen, Antti Kaihola and Uninen.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11302 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 13:11:22 +00:00
Russell Keith-Magee bdbcb6a4bb Fixed #10900 -- Updated Czech translation. Thanks to Elvard, Petr Marhoun and Vláďa Macek.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11301 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 13:09:28 +00:00
Russell Keith-Magee dbdf65ccf8 Fixed #10885 -- Updated Hebrew translation. Thanks to Alex Gaynor.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11300 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 13:07:33 +00:00
Russell Keith-Magee f1c00a2321 Fixed #10663 -- Updated Serbian (Cyrillic) translation; added a Serbian (Latin) sr_Latn translation set. Thanks to Branko Vukelic and Janos Guljas.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-23 13:05:43 +00:00
James Bennett d65a8e0906 Bump django.VERSION for RC 1.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11289 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-22 02:09:01 +00:00
Ian Kelly bbac0cc965 Fixed #11487: pass long strings to Oracle as CLOB rather than NCLOB to prevent an encoding bug that occurs in some installations.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11285 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-21 21:20:18 +00:00
Russell Keith-Magee bc5a7c0dbd Fixed #11512 -- Corrected unclosed tag in HTML on debug page. Thanks to rlaager for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11276 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-21 01:50:06 +00:00
Jarek Zgoda 2fffe390a0 Fixed #11498 - fix wrong translation in admin actions form. Thanks for sayane for report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11267 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-17 20:04:03 +00:00
Justin Bronn 53b8809277 Fixed #11489 -- `GeoQuery.resolve_columns` now recognizes annotations; disabled problematic test cases on Oracle and added notes on why.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11251 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-16 22:38:22 +00:00
Russell Keith-Magee 8d48eaa064 Fixed #10061 -- Added namespacing for named URLs - most importantly, for the admin site, where the absence of this facility was causing problems. Thanks to the many people who contributed to and helped review this patch.
This change is backwards incompatible for anyone that is using the named URLs
introduced in [9739]. Any usage of the old admin_XXX names need to be modified
to use the new namespaced format; in many cases this will be as simple as a
search & replace for "admin_" -> "admin:". See the docs for more details on
the new URL names, and the namespace resolution strategy.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11250 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-16 16:16:13 +00:00
Justin Bronn 9c5075d125 Forgot to add `collect` to `GeoManager`.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11232 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-15 02:20:51 +00:00
Russell Keith-Magee e992e57d3e Fixed #11416 -- Restored use of the never_cache decorator on admin views. Thanks to Ramiro Morales and Michael Newmann for their work on the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11229 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-13 13:46:31 +00:00
Justin Bronn 33ea28c2b2 Forgot to add the `collect` GeoQuerySet method to correspond to the `Collect` aggregate object; also added tests for this operation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11227 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-11 20:34:27 +00:00
Russell Keith-Magee 52bc782621 Fixed #11107 -- Corrected the generation of sequence reset SQL for m2m fields with an intermediate model. Thanks to J Clifford Dyer for the report and fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11215 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-11 14:22:52 +00:00
Justin Bronn 55968a6edd Fixed GEOS & GDAL C function prototypes to explicitly use a subclass of `c_char_p` as the return type on routines that return strings. This prevents crashes on some 64-bit platforms, like FreeBSD. Thanks to wilsaj for discovering the problem. Refs #9747.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11205 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-09 02:00:40 +00:00
Marc Fargas 4532cf69de Updated Spanish translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11201 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-07 13:23:40 +00:00
Marc Fargas a4d8d45117 Updated catalan Translation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11200 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-07 13:23:15 +00:00
Russell Keith-Magee 6ed0345092 Fixed #11413 -- Added notes on the cycle and firstof tag detailing that variables output by those tags will not be escaped by default. Thanks to krystal for the report and draft patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11163 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-03 05:41:36 +00:00
Russell Keith-Magee 7ecb8b08b3 Fixed #10922 -- Corrected handling of POST data to ensure that the right objects are updated on save when the ordering field is editable. Thanks to Alex Gaynor, Karen Tracy, and Will Hardy for their contributions to this patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11160 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-03 03:05:17 +00:00
Russell Keith-Magee 88da053e5e Fixed #10834 -- Corrected [11120] to ensure that there is a difference between catching a bad URL pattern and an new (no URLs) project. Thanks to Matt Welch for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11155 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-02 14:02:58 +00:00
James Bennett 923c6755c8 Fixed #11357: contrib.admindocs now correctly displays many-to-many relationships. Thanks to Ben Spaulding for the final version of the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11127 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-30 18:40:29 +00:00
Justin Bronn 422adffa11 Fixed #11401 -- Update geographic admin to use OpenLayers 2.8 as OpenStreetMap does not support previous versions. Thanks, yourcelf for ticket and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11125 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-29 17:49:01 +00:00
Justin Bronn cb9cf01ff2 Fixed #11249, #11261 -- Blocks may now be overridden again `google-map.js` template; now use GMaps `setUIToDefault` to use default controls. Thanks to ludifan and Peter Landry for the ttickets and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11124 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-29 17:17:45 +00:00
Justin Bronn fdcc0c774a Fixed #11381 -- `GeoManager` + `select_related` + nullable `ForeignKey` now works correctly. Thanks, bretthoerner for ticket and dgouldin for initial patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11123 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-29 16:31:21 +00:00
Russell Keith-Magee 735309341e Fixed #10834 -- Added bucket condition to ensure that URL resolvers won't ever return None. Thanks to Chris Cahoon for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11120 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-29 14:02:17 +00:00
Russell Keith-Magee 78eb620c63 Fixed #11327 -- Added missing prefix in HTML id in admin-docs. Prefix originally added in r10343, but missed the second usage. Thanks to Nathan for the report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11096 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-24 14:03:10 +00:00
Russell Keith-Magee cbbe60c7fc Fixed #11270 -- Modified cache template tag to prevent the creation of very long cache keys. Thanks to 235 for the report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18 15:04:00 +00:00
Russell Keith-Magee f908eded21 Fixed #9268 -- Ensured that the next argument is passed on when previewing comments. Thanks to leanmeandonothingmachine for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11019 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-17 13:01:40 +00:00
Russell Keith-Magee 191203b48d Fixed #9023 -- Corrected a problem where cached attribute values would cause a delete to cascade to a related object even when the relationship had been set to None. Thanks to TheShark for the report and test case, and to juriejan and Jacob for their work on the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11009 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-15 14:30:51 +00:00
Russell Keith-Magee b38cf5db5c Fixed #11311 -- Reverted [10952], Refs #10785. Changeset [10952] caused problems with m2m relations between models that had non-integer primary keys. Thanks to Ronny for the report and test case.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11007 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-15 11:47:01 +00:00
Gary Wilson Jr c98a46c2be Fixed #11316 -- Fixed a Python 2.3 compatibilty issue with [10966] (in Python 2.3 on 32-bit machines, 1<<32 is 0). Thanks to kylef for the report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11004 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-14 23:03:01 +00:00
Justin Bronn 694a15ef72 Fixed support for GDAL 1.6 on Windows. Thanks to jtia for spotting this.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10985 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-12 17:16:49 +00:00
Luke Plant 9294121d3c Fixed #9367 - EmailMultiAlternatives does not properly handle attachments.
Thanks to Loek Engels for the bulk of the patch.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@10983 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-12 13:56:40 +00:00
Brian Rosner a5e7d97594 Fixed #11302 -- Avoid unnesscary (and possibly unintentional) queries/results from generic inline formsets.
When an instance with no primary key value is passed in to a generic inline
formset we ensure no queries/results occur. Thanks Alex Gaynor.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10981 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-11 18:59:48 +00:00
Justin Bronn 4cb4086b2a Fixed #11245, #11246 -- Fixed validity check of `GeoIP` pointers and leaking of their references; also clarified initialization, fixed a stale test, added comments about version compatibility, and did some whitespace cleanup.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10979 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-11 02:45:46 +00:00
Russell Keith-Magee d3bd3203f9 Fixed #11286 -- Ensured that dumpdata uses the default manager, rather than always using the manager called `objects`. Thanks to Marc Remolt for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-09 13:14:40 +00:00
Russell Keith-Magee 64be8f29d5 Fixed #9253 -- Modified the method used to generate constraint names so that it is consistent regardless of machine word size.
NOTE: This change is backwards incompatible for some users.

If you are using a 32-bit platform, you will observe no differences as a
result of this change. However, users on 64-bit platforms may experience
some problems using the `reset` management command.

Prior to this change, 64-bit platforms would generate a 64-bit, 16 character
digest in the constraint name; for example:

ALTER TABLE `myapp_sometable` ADD CONSTRAINT `object_id_refs_id_5e8f10c132091d1e` FOREIGN KEY ...

Following this change, all platforms, regardless of word size, will
generate a 32-bit, 8 character digest in the constraint name; for example:

ALTER TABLE `myapp_sometable` ADD CONSTRAINT `object_id_refs_id_32091d1e` FOREIGN KEY ...

As a result of this change, you will not be able to use the `reset`
management command on any table created with 64-bit constraints. This
is because the the new generated name will not match the historically
generated name; as a result, the SQL constructed by the `reset` command
will be invalid.

If you need to reset an application that was created with 64-bit
constraints, you will need to manually drop the old constraint prior
to invoking `reset`.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10966 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-09 12:59:41 +00:00
Russell Keith-Magee 031385e4cc Fixed #11194 -- Corrected loading of Proxy models from fixtures (and, by extension, save_base(raw=True) for Proxy models).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10955 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-08 13:35:39 +00:00
Russell Keith-Magee 81aedbd157 Fixed #10672 -- Altered save_base to ensure that proxy models send a post_save signal.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10954 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-08 13:04:22 +00:00
Russell Keith-Magee 6cd37e0a1f Fixed #10785 -- Corrected a case for foreign key lookup where the related object is a custom primary key. Thanks to Alex Gaynor for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10952 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-08 04:50:24 +00:00
Russell Keith-Magee 708bc80ba6 Fixed #11271 -- Added a translation marker for the list_editable save button. Thanks to dc for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10931 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-06 13:43:44 +00:00