Compare commits
3 Commits
5e53859f52
...
a6ec89f1c6
Author | SHA1 | Date |
---|---|---|
Jaya Surya P | a6ec89f1c6 | |
NitinVangipuram | b977053556 | |
NitinVangipuram | c7a5325ed6 |
|
@ -467,8 +467,7 @@ 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