corrected email and subject of form response

This commit is contained in:
karthikmurakonda 2023-07-25 22:26:52 +05:30
parent 6642e14951
commit 35a9918a9e
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ DEGREE_CHOICES = [
TOTAL_BRANCHES = 4 # Total No of Branches TOTAL_BRANCHES = 4 # Total No of Branches
TOTAL_BATCHES = 5 # Total No of Batches 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 # To be Configured Properly
CLIENT_ID = os.environ.get('GOOGLE_OAUTH_CLIENT_ID') # Google Login Client ID CLIENT_ID = os.environ.get('GOOGLE_OAUTH_CLIENT_ID') # Google Login Client ID

View File

@ -386,7 +386,7 @@ def send_opening_notifications(placement_id):
"opening_type": 'Placement', "opening_type": 'Placement',
"designation": placement.designation, "designation": placement.designation,
"deadline": deadline_datetime.strftime("%A, %-d %B %Y, %-I:%M %p"), "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) sendEmail(student_user.email, subject, data, NOTIFY_STUDENTS_OPENING_TEMPLATE)
except Http404: except Http404: