cdc-placement-website-backend/CDC_Backend/APIs/constants.py

96 lines
2.0 KiB
Python
Raw Normal View History

2021-10-15 20:47:23 +05:30
BRANCH_CHOICES = [
["CSE", "CSE"],
["EE", "EE"],
["ME", "ME"]
]
BATCH_CHOICES = [
["FIRST", "First"],
["SECOND", "Second"],
["THIRD", "Third"],
["FOURTH", "Fourth"]
]
OFFER_CITY_TYPE = [
['Domestic', 'Domestic'],
['International', 'International']
]
TIERS = [
['psu', 'PSU'],
['1', 'Tier 1'],
['2', 'Tier 2'],
['3', 'Tier 3'],
['4', 'Tier 4'],
['5', 'Tier 5'],
['6', 'Tier 6']
]
TOTAL_BRANCHES = 3 # Total No of Branches
TOTAL_BATCHES = 4 # Total No of Batches
CLIENT_ID = "956830229554-290mirc16pdhd5j7ph7v7ukibo4t1qcp.apps.googleusercontent.com" # Google Login Client ID
TOKEN = "token_id"
EMAIL = "email"
STUDENT = 'student'
ADMIN = 'Admin'
COMPANY = ''
2021-10-22 20:37:15 +05:30
2021-10-15 20:47:23 +05:30
STORAGE_DESTINATION = "./Storage/Resumes/"
STORAGE_DESTINATION_COMPANY_ATTACHMENTS = './Storage/Company_Attachments/'
RESUME_FILE_NAME = 'resume_file_name'
APPLICATION_ID = "application_id"
2021-10-22 20:37:15 +05:30
OPENING_ID = "opening_id"
STUDENT_ID = "student_id"
ADDITIONAL_INFO = "additional_info"
2021-10-15 20:47:23 +05:30
STATUS_ACCEPTING_APPLICATIONS = "Accepting Applications"
PLACEMENT = "Placement"
COMPANY_WEBSITE = 'website'
COMPANY_ADDRESS = 'address'
2021-10-22 20:37:15 +05:30
PHONE_NUMBER = 'phone_number'
CONTACT_PERSON_NAME = 'contact_person_name'
2021-10-15 20:47:23 +05:30
2021-10-22 20:37:15 +05:30
DESIGNATION = 'designation'
DESCRIPTION = 'description'
2021-10-15 20:47:23 +05:30
OPENING_TYPE = 'opening_type'
2021-10-22 20:37:15 +05:30
CITY = 'city'
CITY_TYPE = 'city_type'
COMPENSATION = 'compensation'
COMPENSATION_DETAILS = 'compensation_details'
ALLOWED_BATCH = 'allowed_batch'
ALLOWED_BRANCH = 'allowed_branch'
ATTACHMENTS = 'attachments'
ROUNDS = 'rounds'
ROUND_DETAILS = 'round_details'
DURATION = 'duration'
CO_OP = 'co_op'
START_DATE = "start_date"
STUDENT_LIST = "student_list"
STUDENT_STATUS = "student_status"
2021-10-15 20:47:23 +05:30
BRANCHES = [
"CSE",
"EE",
"ME"
]
BATCHES = [
"FIRST",
"SECOND",
"THIRD",
"FOURTH"
]
COMPANY_OPENING_SUBMITTED_TEMPLATE_SUBJECT = "Notification Submitted - {id} - CDC IIT Dharwad"
STUDENT_APPLICATION_SUBMITTED_TEMPLATE = 'student_application_submitted.html'
COMPANY_OPENING_SUBMITTED_TEMPLATE = 'company_opening_submitted.html'