taking logo from static
This commit is contained in:
@@ -17,7 +17,7 @@ def landingview(request):
|
||||
)
|
||||
|
||||
def logoview(request):
|
||||
image_data = open(settings.MEDIA_ROOT+"/apple-icon-144x144.png", "rb").read()
|
||||
image_data = open(settings.STATIC_ROOT+"/static/img/apple-icon-144x144.png", "rb").read()
|
||||
return HttpResponse(image_data, content_type="image/png")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user