def METHOD_NAME(request):
    if FirmwareFile.objects.all().count() > 0:
        form = DeleteFirmwareForm(initial={'firmware': FirmwareFile.objects.latest('upload_date').id})
        return render(request, 'uploader/manage.html', {'delete_form': form})
    form = DeleteFirmwareForm()
    return render(request, 'uploader/manage.html', {'delete_form': form})