P-47
This commit is contained in:
1 parent
11f45daf67
commit
41ec40fedb
9 files changed
+199
-101
No files matched your search
@@ -50,8 +50,10 @@ class GetVacancies(ListAPIView):
|
||||
|
||||
class PostResponseVacancies(ListAPIView):
|
||||
def post(self, request):
|
||||
|
||||
|
||||
a = ResponseVacancy.objects.create(**json.loads(request.data['data']), file = request.data['file'] if 'file' in request.data else None)
|
||||
print(request.data, 'aaaaaaaaaaaaaa')
|
||||
|
||||
okib = DictDepartment.objects.get(id=22)
|
||||
data = {'sendto':[a.vacancy.department.id_chief.lotus, okib.id_chief.lotus], 'subject': f'Отклик на вакансию {a.vacancy.name} от {a.fio}', 'body_text':f'Почта:{a.email} ----- Телефон: {a.tel} ---- Сопроводительное письмо: {a.text}'}
|
||||
|
||||
|
||||
Reference in new issue
Block a user