• Unai Zalakain's avatar
    Fixed #8261 -- ModelAdmin hook for customising the "show on site" button · fd219fa2
    Unai Zalakain yazdı
    ``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.
    fd219fa2
Adı
Son kayıt (commit)
Son güncelleme
..
admin-views-actions.xml Loading commit data...
admin-views-books.xml Loading commit data...
admin-views-colors.xml Loading commit data...
admin-views-fabrics.xml Loading commit data...
admin-views-person.xml Loading commit data...
admin-views-restaurants.xml Loading commit data...
admin-views-unicode.xml Loading commit data...
admin-views-users.xml Loading commit data...
deleted-objects.xml Loading commit data...
multiple-child-classes.json Loading commit data...
string-primary-key.xml Loading commit data...