#add message
This commit is contained in:
parent
40eef5c1f8
commit
82e98070f3
|
@ -1127,7 +1127,7 @@ def group_super_search_by_keyword(request):
|
||||||
{'group': group, 'res_g_i': res_g_i, 'count': count, 'level': level})
|
{'group': group, 'res_g_i': res_g_i, 'count': count, 'level': level})
|
||||||
|
|
||||||
def app_download(request):
|
def app_download(request):
|
||||||
file = open('/var/www/p3/newmediamonitoring/media/app-11.apk', 'rb')
|
file = open('/var/www/p3/newmediamonitoring/media/app-10.apk', 'rb')
|
||||||
response = HttpResponse(file)
|
response = HttpResponse(file)
|
||||||
response['Content-Type'] = 'application/octet-stream'
|
response['Content-Type'] = 'application/octet-stream'
|
||||||
response['Content-Disposition'] = 'attachment;filename="app.apk"'
|
response['Content-Disposition'] = 'attachment;filename="app.apk"'
|
||||||
|
|
Loading…
Reference in New Issue