8 lines
222 B
Python
8 lines
222 B
Python
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/') |