django1/django/contrib
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
..
admin Fixed #8261 -- ModelAdmin hook for customising the "show on site" button 2013-10-29 17:10:12 -04:00
admindocs Fixed all the E203 violations 2013-10-26 18:27:42 -07:00
auth Start attacking E231 violations 2013-10-24 10:30:03 -07:00
comments Fixed #21266 -- Fixed E201,E202 pep8 warnings. 2013-10-14 18:12:00 -04:00
contenttypes Fixed #21288 -- Fixed E126 pep8 warnings 2013-10-21 08:31:30 -04:00
flatpages Start attacking E231 violations 2013-10-24 10:30:03 -07:00
formtools Start attacking E231 violations 2013-10-24 10:30:03 -07:00
gis Remove dsome import * 2013-10-26 20:57:08 -07:00
humanize Fixed #21307 -- Moved TransRealMixin to django.test.utils. 2013-10-22 22:19:56 -03:00
messages Fixed #21298 -- Fixed E301 pep8 warnings 2013-10-23 13:45:03 +01:00
redirects Fixed E225 pep8 warnings. 2013-10-23 06:09:29 -04:00
sessions Fixed #21268 -- Fixed E303 pep8 warnings 2013-10-18 01:46:24 +01:00
sitemaps Start attacking E231 violations 2013-10-24 10:30:03 -07:00
sites Fixed all the E203 violations 2013-10-26 18:27:42 -07:00
staticfiles Fixed #20841 -- Added messages to NotImplementedErrors 2013-09-10 11:09:59 -04:00
syndication Refactored code and tests that relied on django.utils.tzinfo. 2013-09-09 22:32:52 +02:00
webdesign Removed import * in tests. 2013-10-22 08:32:01 -04:00
__init__.py Created django.contrib and moved comments into it 2005-07-14 18:20:03 +00:00