django1/django/contrib/admin
Unai Zalakain fd219fa24c Fixed #8261 -- ModelAdmin hook for customising the "show on site" button
``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-10-29 17:10:12 -04:00
..
bin Fixed #19333 -- Moved compress.py outside of the admin static folder. Thanks to camilonova, Russell Keith-Magee, Aymeric Augustin and Ramiro Morales for the feedback. 2013-02-02 15:01:32 -08:00
locale Updated translation catalogs 2013-05-25 14:32:44 +02:00
static/admin Updated admin alert colors 2013-10-15 10:18:51 -04:00
templates Fixed #8261 -- ModelAdmin hook for customising the "show on site" button 2013-10-29 17:10:12 -04:00
templatetags Fixed all the E203 violations 2013-10-26 18:27:42 -07:00
views Fixed #21285 -- Fixed E121,E122 pep8 warnings 2013-10-17 20:20:11 -04:00
__init__.py Fixed #19414 -- Added admin registration decorator 2013-09-18 11:44:10 -04:00
actions.py Fixed #17627 -- Renamed util.py files to utils.py 2013-09-16 12:52:05 -04:00
decorators.py Fixed typo in exception message; refs #19414 2013-09-19 06:24:12 -04:00
exceptions.py Fixed #19866 -- Added security logger and return 400 for SuspiciousOperation. 2013-05-25 16:27:34 -07:00
filters.py Fixed #21288 -- Fixed E126 pep8 warnings 2013-10-21 08:31:30 -04:00
forms.py Fixed #20199 -- Allow ModelForm fields to override error_messages from model fields 2013-06-18 08:01:17 -04:00
helpers.py Fixed #8261 -- ModelAdmin hook for customising the "show on site" button 2013-10-29 17:10:12 -04:00
models.py Fixed #17627 -- Renamed util.py files to utils.py 2013-09-16 12:52:05 -04:00
options.py Fixed #8261 -- ModelAdmin hook for customising the "show on site" button 2013-10-29 17:10:12 -04:00
sites.py Fixed #21056 -- AdminSite.app_index no longer blindly accepts any app-labelish input. 2013-09-11 08:48:32 -04:00
tests.py Fixed #21227 -- Added workaround for selenium test failures 2013-10-24 15:07:41 -04:00
util.py Removed import * in tests. 2013-10-22 08:32:01 -04:00
utils.py Fixed #17627 -- Renamed util.py files to utils.py 2013-09-16 12:52:05 -04:00
validation.py Fixed #8261 -- ModelAdmin hook for customising the "show on site" button 2013-10-29 17:10:12 -04:00
widgets.py Fixed #17627 -- Renamed util.py files to utils.py 2013-09-16 12:52:05 -04:00