add message
This commit is contained in:
parent
fbd443fa41
commit
5f328fcb35
Binary file not shown.
Binary file not shown.
|
@ -26,4 +26,4 @@ def download(request):
|
||||||
def has_update(request):
|
def has_update(request):
|
||||||
version = request.GET.get('version', '1')
|
version = request.GET.get('version', '1')
|
||||||
last = AppVersion.objects.first()
|
last = AppVersion.objects.first()
|
||||||
return JsonResponse({'status': 'success', 'message': last != version})
|
return JsonResponse({'status': 'success', 'message': str(last.version) != version})
|
||||||
|
|
Loading…
Reference in New Issue