<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def favicon(request):
 """ It returns favicon's location """

    favicon = u"{}tree/images/favicon.ico".format(settings.STATIC_URL)
    try:
        from seo.models import MetaSite
        site = MetaSite.objects.get(default=True)
        return HttpResponseRedirect(site.favicon.url)
    except:
        return HttpResponseRedirect(favicon)