from django.shortcuts import redirect from apps.workerslocation.models.model_voice_call import VoiceCall def start_call(request, alarm): call = VoiceCall.objects.create(alarm_file=alarm) return redirect('/pla/')