Compare commits
No commits in common. "a6ec89f1c6633165812dbb786170327ab31f3fcb" and "5e53859f52d9040b89ee31e3e1fa74703170c5f9" have entirely different histories.
a6ec89f1c6
...
5e53859f52
|
@ -467,7 +467,8 @@ def downloadResume(request, id, email, user_type):
|
||||||
data = request.data
|
data = request.data
|
||||||
if OPENING_TYPE in data:
|
if OPENING_TYPE in data:
|
||||||
opening_type= data[OPENING_TYPE]
|
opening_type= data[OPENING_TYPE]
|
||||||
|
else:
|
||||||
|
opening_type= "Placement"
|
||||||
if opening_type == "Internship":
|
if opening_type == "Internship":
|
||||||
opening = get_object_or_404(Internship, id=data[OPENING_ID])
|
opening = get_object_or_404(Internship, id=data[OPENING_ID])
|
||||||
applications = InternshipApplication.objects.filter(internship=opening)
|
applications = InternshipApplication.objects.filter(internship=opening)
|
||||||
|
|
Loading…
Reference in New Issue