mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed #13749 -- Added link from admin site to front-end site.
Thanks romankrv for the suggestion.
This commit is contained in:
@@ -2445,6 +2445,13 @@ Templates can override or extend base admin templates as described in
|
||||
The text to put at the end of each admin page's ``<title>`` (a string). By
|
||||
default, this is "Django site admin".
|
||||
|
||||
.. attribute:: AdminSite.site_url
|
||||
|
||||
.. versionadded:: 1.8
|
||||
|
||||
The URL for the "View site" link at the top of each admin page. By default,
|
||||
``site_url`` is ``/``. Set it to ``None`` to remove the link.
|
||||
|
||||
.. attribute:: AdminSite.index_title
|
||||
|
||||
.. versionadded:: 1.7
|
||||
|
||||
@@ -50,6 +50,10 @@ Minor features
|
||||
|
||||
* The jQuery library embedded in the admin has been upgraded to version 1.11.1.
|
||||
|
||||
* You can now specify :attr:`AdminSite.site_url
|
||||
<django.contrib.admin.AdminSite.site_url>` in order to display a link to the
|
||||
front-end site.
|
||||
|
||||
:mod:`django.contrib.auth`
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user