admin.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:openwisp-utils 作者: openwisp 项目源码 文件源码
def openwisp_admin(site_url=None):
    # <title>
    admin.site.site_title = ugettext_lazy('OpenWISP2 Admin')
    # link to frontend
    admin.site.site_url = site_url
    # h1 text
    admin.site.site_header = ugettext_lazy('OpenWISP')
    # text at the top of the admin index page
    admin.site.index_title = ugettext_lazy('Network administration')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号