Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
c4ba6bc4d7
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