Merge pull request #166 from CDC-IITDH/intern_models
corrected email and subject of form response
This commit is contained in:
commit
c6b2e8aa9d
|
@ -45,7 +45,7 @@ DEGREE_CHOICES = [
|
|||
TOTAL_BRANCHES = 4 # Total No of Branches
|
||||
TOTAL_BATCHES = 5 # Total No of Batches
|
||||
|
||||
CDC_MAIl_ADDRESS = '200010030@iitdh.ac.in'
|
||||
CDC_MAIl_ADDRESS = 'cdc@iitdh.ac.in'
|
||||
|
||||
# To be Configured Properly
|
||||
CLIENT_ID = os.environ.get('GOOGLE_OAUTH_CLIENT_ID') # Google Login Client ID
|
||||
|
|
|
@ -386,7 +386,7 @@ def send_opening_notifications(placement_id):
|
|||
"opening_type": 'Placement',
|
||||
"designation": placement.designation,
|
||||
"deadline": deadline_datetime.strftime("%A, %-d %B %Y, %-I:%M %p"),
|
||||
"link": PLACEMENT_OPENING_URL.format(id=placement.id)
|
||||
"link": PLACEMENT_OPENING_URL.format(id=placement.designation)
|
||||
}
|
||||
sendEmail(student_user.email, subject, data, NOTIFY_STUDENTS_OPENING_TEMPLATE)
|
||||
except Http404:
|
||||
|
|
Loading…
Reference in New Issue