django1/django
Juan Catalano 054ce2aa02 Fixed #20088 -- Changed get_admin_log not to depend on User id field
Before this change, the get_admin_log method would expect User model's
FK to be named `id`. When changing that FK name, admin/index.html
rendering would fail.

This includes:
 * Changed the use of id for the use of pk property.
 * Added a regression test that fails without the patch.

This commit refs #20088.
2013-03-19 19:30:43 -03:00
..
bin Advanced pending deprecation warnings. 2012-12-29 21:59:07 +01:00
conf Fixed #19697 -- Added a deployment checklist. 2013-03-17 19:21:36 +01:00
contrib Fixed #20088 -- Changed get_admin_log not to depend on User id field 2013-03-19 19:30:43 -03:00
core Fixed #13260 -- Quoted arguments interpolated in URLs in reverse. 2013-03-18 23:58:22 +01:00
db Fixed #19968 -- Dropped support for PostgreSQL < 8.4. 2013-03-18 21:16:29 +01:00
dispatch Fixed #19634 -- Added proper __hash__ methods. 2013-02-25 23:05:20 +01:00
forms Fixed #17051 -- Removed some 'invalid' field error messages 2013-03-14 17:03:43 +01:00
http Fixed #20019 -- Ensured HttpRequest.resolver_match always exists. 2013-03-10 23:28:19 +01:00
middleware Deprecated TransactionMiddleware and TRANSACTIONS_MANAGED. 2013-03-11 15:04:05 +01:00
shortcuts Fixed #19692 -- Completed deprecation of mimetype in favor of content_type. 2013-01-31 13:54:40 +01:00
template Fixed #19510 -- Race condition in template loading. 2013-03-17 23:56:07 +01:00
templatetags Fixed #19915 - Made blocktrans tag honor TEMPLATE_STRING_IF_INVALID. 2013-03-03 16:10:11 -03:00
test Stopped using non-standard __globals__ and __code__ attributes. 2013-03-17 10:44:28 +01:00
utils Fixed #19456 -- Avoid infinite recursion when tracing LazyObject.__init__. 2013-03-18 11:22:43 +01:00
views Deprecated django.views.defaults.shortcut. 2013-03-14 20:30:23 +01:00
__init__.py Advanced version identifiers for 1.6 cycle. 2012-10-26 22:01:34 -03:00