rename VERDANT_SITE_NAME to WAGTAIL_SITE_NAME (and remove todo note - there's no way to pass in a name that's particularly better than the settings file)

This commit is contained in:
Matt Westcott 2014-01-30 11:27:06 +00:00
parent 60b7cd2411
commit eb354a1147

View file

@ -65,7 +65,7 @@ def home(request):
fn(request, panels)
return render(request, "wagtailadmin/home.html", {
'site_name': settings.VERDANT_SITE_NAME,
'site_name': settings.WAGTAIL_SITE_NAME,
'panels': sorted(panels, key=lambda p: p.order),
'user':request.user
})