summaryrefslogtreecommitdiff
path: root/tests/admin_views/fixtures
AgeCommit message (Collapse)Author
2015-03-05Converted test fixtures to setUpTestData methodsJosh Smeaton
2014-12-31Fixed #22295 -- Replaced permission check for displaying admin user-toolsThomas Tanner
2013-10-29Fixed #8261 -- ModelAdmin hook for customising the "show on site" buttonUnai Zalakain
``ModelAdmin.view_on_site`` defines wether to show a link to the object on the admin detail page. If ``True``, cleverness (i.e. ``Model.get_absolute_url``) is used to get the url. If it's a callable, the callable is called with the object as the only parameter. If ``False``, not link is displayed. With the aim of maitaining backwards compatibility, ``True`` is the default.
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner