Fixed #13749 -- Added link from admin site to front-end site.

Thanks romankrv for the suggestion.
This commit is contained in:
areski 2014-08-26 13:10:30 +02:00 committed by Tim Graham
parent 6aae07fe61
commit a81af7f49d
6 changed files with 28 additions and 0 deletions

View file

@ -832,6 +832,7 @@ class FunkyTagAdmin(admin.ModelAdmin):
site = admin.AdminSite(name="admin")
site.site_url = '/my-site-url/'
site.register(Article, ArticleAdmin)
site.register(CustomArticle, CustomArticleAdmin)
site.register(Section, save_as=True, inlines=[ArticleInline])