mirror of
https://github.com/django/django.git
synced 2025-11-02 12:58:56 +00:00
``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. |
||
|---|---|---|
| .. | ||
| admin | ||
| comments | ||
| formtools | ||
| gis | ||
| auth.txt | ||
| contenttypes.txt | ||
| csrf.txt | ||
| flatpages.txt | ||
| humanize.txt | ||
| index.txt | ||
| messages.txt | ||
| redirects.txt | ||
| sitemaps.txt | ||
| sites.txt | ||
| staticfiles.txt | ||
| syndication.txt | ||
| webdesign.txt | ||