django/tests/admin_changelist
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
..
__init__.py
admin.py Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that return a QuerySet. 2013-03-08 10:11:45 -05:00
models.py Fixed #20088 -- Changed get_admin_log not to depend on User id field 2013-03-19 19:30:43 -03:00
tests.py Fixed #20088 -- Changed get_admin_log not to depend on User id field 2013-03-19 19:30:43 -03:00
urls.py