2021-10-15 20:47:23 +05:30
|
|
|
BRANCH_CHOICES = [
|
|
|
|
["CSE", "CSE"],
|
|
|
|
["EE", "EE"],
|
2021-12-03 01:04:49 +05:30
|
|
|
["ME", "ME"],
|
|
|
|
['EP', 'EP'],
|
|
|
|
]
|
|
|
|
BRANCHES = [
|
|
|
|
"CSE",
|
|
|
|
"EE",
|
|
|
|
"ME",
|
|
|
|
"EP"
|
2021-10-15 20:47:23 +05:30
|
|
|
]
|
|
|
|
BATCH_CHOICES = [
|
2021-12-03 01:04:49 +05:30
|
|
|
["2021", "2021"],
|
|
|
|
["2020", "2020"],
|
|
|
|
["2019", "2019"],
|
|
|
|
["2018", "2018"]
|
2021-10-15 20:47:23 +05:30
|
|
|
]
|
|
|
|
|
|
|
|
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']
|
|
|
|
]
|
|
|
|
|
2021-12-03 01:04:49 +05:30
|
|
|
TOTAL_BRANCHES = 4 # Total No of Branches
|
2021-10-15 20:47:23 +05:30
|
|
|
TOTAL_BATCHES = 4 # Total No of Batches
|
|
|
|
|
2021-12-03 01:04:49 +05:30
|
|
|
# To be Configured Properly
|
2021-10-15 20:47:23 +05:30
|
|
|
CLIENT_ID = "956830229554-290mirc16pdhd5j7ph7v7ukibo4t1qcp.apps.googleusercontent.com" # Google Login Client ID
|
|
|
|
|
2021-12-03 01:04:49 +05:30
|
|
|
# To be Configured Properly
|
2022-07-28 18:01:55 +05:30
|
|
|
PLACEMENT_OPENING_URL = "http://localhost:3000/student/dashboard/placements/{id}" # On frontend, this is the URL to be opened
|
2022-05-01 14:56:46 +05:30
|
|
|
LINK_TO_STORAGE_COMPANY_ATTACHMENT = "http://localhost/storage/Company_Attachments/"
|
|
|
|
LINK_TO_STORAGE_RESUME = "http://localhost/storage/Resumes/"
|
|
|
|
LINK_TO_APPLICATIONS_CSV = "http://localhost/storage/Application_CSV/"
|
2022-04-30 22:27:49 +05:30
|
|
|
LINK_TO_EMAIl_VERIFICATION_API = "http://localhost:3000/company/verifyEmail?token={token}"
|
2021-12-03 01:04:49 +05:30
|
|
|
|
2021-10-15 20:47:23 +05:30
|
|
|
EMAIL = "email"
|
|
|
|
|
|
|
|
STUDENT = 'student'
|
2021-12-03 01:04:49 +05:30
|
|
|
ADMIN = 'admin'
|
2021-10-15 20:47:23 +05:30
|
|
|
COMPANY = ''
|
2022-05-01 22:51:14 +05:30
|
|
|
TIER = 'tier'
|
2021-12-03 01:04:49 +05:30
|
|
|
# To be Configured Properly
|
2022-05-02 15:30:02 +05:30
|
|
|
FOURTH_YEAR = '2019'
|
2021-12-03 01:04:49 +05:30
|
|
|
MAX_OFFERS_PER_STUDENT = 2
|
2022-08-05 10:50:07 +05:30
|
|
|
MAX_RESUMES_PER_STUDENT =3
|
2022-05-02 17:16:56 +05:30
|
|
|
EMAIL_VERIFICATION_TOKEN_TTL = 48 # in hours
|
2022-05-24 15:07:32 +05:30
|
|
|
JNF_TEXT_MAX_CHARACTER_COUNT = 100
|
|
|
|
JNF_TEXTMEDIUM_MAX_CHARACTER_COUNT = 200
|
|
|
|
JNF_TEXTAREA_MAX_CHARACTER_COUNT = 1000
|
|
|
|
JNF_SMALLTEXT_MAX_CHARACTER_COUNT = 50
|
2021-12-03 01:04:49 +05:30
|
|
|
|
|
|
|
STORAGE_DESTINATION_RESUMES = "./Storage/Resumes/"
|
2021-10-15 20:47:23 +05:30
|
|
|
STORAGE_DESTINATION_COMPANY_ATTACHMENTS = './Storage/Company_Attachments/'
|
2021-12-12 19:14:27 +05:30
|
|
|
STORAGE_DESTINATION_APPLICATION_CSV = './Storage/Application_CSV/'
|
|
|
|
|
2021-12-17 17:15:56 +05:30
|
|
|
TOKEN = 'token'
|
2021-10-15 20:47:23 +05:30
|
|
|
RESUME_FILE_NAME = 'resume_file_name'
|
|
|
|
|
|
|
|
APPLICATION_ID = "application_id"
|
2021-10-22 20:37:15 +05:30
|
|
|
OPENING_ID = "opening_id"
|
|
|
|
ADDITIONAL_INFO = "additional_info"
|
2022-06-06 11:07:41 +05:30
|
|
|
FIELD = "field"
|
2021-10-15 20:47:23 +05:30
|
|
|
|
|
|
|
STATUS_ACCEPTING_APPLICATIONS = "Accepting Applications"
|
|
|
|
|
|
|
|
PLACEMENT = "Placement"
|
|
|
|
|
2021-12-03 01:04:49 +05:30
|
|
|
COMPANY_NAME = "company_name"
|
|
|
|
ADDRESS = "address"
|
|
|
|
COMPANY_TYPE = "company_type"
|
|
|
|
NATURE_OF_BUSINESS = "nature_of_business"
|
2022-05-24 15:07:32 +05:30
|
|
|
TYPE_OF_ORGANISATION = "type_of_organisation"
|
2021-12-03 01:04:49 +05:30
|
|
|
WEBSITE = 'website'
|
|
|
|
COMPANY_DETAILS = "company_details"
|
|
|
|
COMPANY_DETAILS_PDF = "company_details_pdf"
|
|
|
|
IS_COMPANY_DETAILS_PDF = "is_company_details_pdf"
|
|
|
|
COMPANY_DETAILS_PDF_NAMES = "company_details_pdf_names"
|
2021-10-22 20:37:15 +05:30
|
|
|
PHONE_NUMBER = 'phone_number'
|
|
|
|
CONTACT_PERSON_NAME = 'contact_person_name'
|
2021-12-03 01:04:49 +05:30
|
|
|
CITY = 'city'
|
|
|
|
STATE = 'state'
|
|
|
|
COUNTRY = 'country'
|
|
|
|
PINCODE = 'pincode'
|
|
|
|
|
2021-10-22 20:37:15 +05:30
|
|
|
DESIGNATION = 'designation'
|
|
|
|
DESCRIPTION = 'description'
|
2021-12-03 01:04:49 +05:30
|
|
|
DESCRIPTION_PDF = 'description_pdf'
|
|
|
|
DESCRIPTION_PDF_NAMES = 'description_pdf_names'
|
|
|
|
IS_DESCRIPTION_PDF = 'is_description_pdf'
|
2021-10-15 20:47:23 +05:30
|
|
|
OPENING_TYPE = 'opening_type'
|
2022-05-24 15:07:32 +05:30
|
|
|
JOB_LOCATION = 'job_location'
|
2021-12-03 01:04:49 +05:30
|
|
|
COMPENSATION_CTC = 'compensation_ctc'
|
|
|
|
COMPENSATION_GROSS = 'compensation_gross'
|
|
|
|
COMPENSATION_TAKE_HOME = 'compensation_take_home'
|
|
|
|
COMPENSATION_BONUS = 'compensation_bonus'
|
2021-10-22 20:37:15 +05:30
|
|
|
COMPENSATION_DETAILS = 'compensation_details'
|
2021-12-03 01:04:49 +05:30
|
|
|
COMPENSATION_DETAILS_PDF = 'compensation_details_pdf'
|
|
|
|
COMPENSATION_DETAILS_PDF_NAMES = 'compensation_details_pdf_names'
|
|
|
|
IS_COMPENSATION_DETAILS_PDF = 'is_compensation_details_pdf'
|
2021-10-22 20:37:15 +05:30
|
|
|
ALLOWED_BATCH = 'allowed_batch'
|
|
|
|
ALLOWED_BRANCH = 'allowed_branch'
|
2022-05-24 15:07:32 +05:30
|
|
|
RS_ELIGIBLE = 'rs_eligible'
|
2021-12-03 01:04:49 +05:30
|
|
|
BOND_DETAILS = 'bond_details'
|
|
|
|
SELECTION_PROCEDURE_ROUNDS = 'selection_procedure_rounds'
|
|
|
|
SELECTION_PROCEDURE_DETAILS = 'selection_procedure_details'
|
|
|
|
SELECTION_PROCEDURE_DETAILS_PDF = 'selection_procedure_details_pdf'
|
|
|
|
SELECTION_PROCEDURE_DETAILS_PDF_NAMES = 'selection_procedure_details_pdf_names'
|
|
|
|
IS_SELECTION_PROCEDURE_DETAILS_PDF = 'is_selection_procedure_details_pdf'
|
|
|
|
TENTATIVE_DATE_OF_JOINING = 'tentative_date_of_joining'
|
|
|
|
TENTATIVE_NO_OF_OFFERS = 'tentative_no_of_offers'
|
|
|
|
OTHER_REQUIREMENTS = 'other_requirements'
|
|
|
|
DEADLINE_DATETIME = 'deadline_datetime'
|
|
|
|
OFFER_ACCEPTED = 'offer_accepted'
|
|
|
|
EMAIL_VERIFIED = 'email_verified'
|
2022-04-10 23:12:02 +05:30
|
|
|
RECAPTCHA_VALUE = 'recaptchakey'
|
2021-10-22 20:37:15 +05:30
|
|
|
|
|
|
|
STUDENT_LIST = "student_list"
|
2021-12-03 01:04:49 +05:30
|
|
|
STUDENT_ID = "student_id"
|
|
|
|
STUDENT_SELECTED = "student_selected"
|
|
|
|
|
2022-05-03 01:41:00 +05:30
|
|
|
EXCLUDE_IN_PDF = ['id', 'is_company_details_pdf', 'offer_accepted', 'is_description_pdf',
|
2022-05-24 15:07:32 +05:30
|
|
|
'is_compensation_details_pdf', 'is_selection_procedure_details_pdf',
|
|
|
|
'email_verified', 'created_at']
|
|
|
|
SPECIAL_FORMAT_IN_PDF = ['website', 'company_details_pdf_names', 'description_pdf_names',
|
|
|
|
'compensation_details_pdf_names',
|
2022-07-28 18:01:55 +05:30
|
|
|
'selection_procedure_details_pdf_names']
|
2022-05-03 01:41:00 +05:30
|
|
|
|
2021-12-17 17:15:56 +05:30
|
|
|
COMPANY_OPENING_SUBMITTED_TEMPLATE_SUBJECT = "Notification Submitted - {id} - Career Development Cell, IIT Dharwad"
|
2022-07-28 18:01:55 +05:30
|
|
|
STUDENT_APPLICATION_STATUS_TEMPLATE_SUBJECT = 'Application Status - {company_name} - {id}'
|
2021-12-03 01:04:49 +05:30
|
|
|
STUDENT_APPLICATION_SUBMITTED_TEMPLATE_SUBJECT = 'CDC - Application Submitted - {company_name}'
|
2022-07-28 14:37:41 +05:30
|
|
|
STUDENT_APPLICATION_UPDATED_TEMPLATE_SUBJECT = 'CDC - Application Updated - {company_name}'
|
2021-12-17 17:15:56 +05:30
|
|
|
COMPANY_EMAIl_VERIFICATION_TEMPLATE_SUBJECT = 'Email Verification - Career Development Cell, IIT Dharwad'
|
2022-07-28 18:01:55 +05:30
|
|
|
NOTIFY_STUDENTS_OPENING_TEMPLATE_SUBJECT = 'Placement Opportunity at {company_name}'
|
2021-10-15 20:47:23 +05:30
|
|
|
|
|
|
|
STUDENT_APPLICATION_SUBMITTED_TEMPLATE = 'student_application_submitted.html'
|
|
|
|
COMPANY_OPENING_SUBMITTED_TEMPLATE = 'company_opening_submitted.html'
|
2021-12-03 01:04:49 +05:30
|
|
|
STUDENT_APPLICATION_STATUS_SELECTED_TEMPLATE = 'student_application_status_selected.html'
|
|
|
|
STUDENT_APPLICATION_STATUS_NOT_SELECTED_TEMPLATE = 'student_application_status_not_selected.html'
|
2022-07-28 14:37:41 +05:30
|
|
|
STUDENT_APPLICATION_UPDATED_TEMPLATE = 'student_application_updated.html'
|
2021-12-17 17:15:56 +05:30
|
|
|
COMPANY_EMAIL_VERIFICATION_TEMPLATE = 'company_email_verification.html'
|
2022-05-02 12:43:26 +05:30
|
|
|
COMPANY_JNF_RESPONSE_TEMPLATE = 'company_jnf_response.html'
|
2022-07-28 18:01:55 +05:30
|
|
|
NOTIFY_STUDENTS_OPENING_TEMPLATE = 'notify_students_new_opening.html'
|
2021-12-03 01:04:49 +05:30
|
|
|
|
2021-12-12 19:14:27 +05:30
|
|
|
APPLICATION_CSV_COL_NAMES = ['Applied At', 'Roll No.', 'Name', 'Email', 'Phone Number', 'Branch', 'Batch', 'CPI',
|
|
|
|
'Resume', 'Selected', ]
|
2022-05-02 12:43:26 +05:30
|
|
|
|
2022-05-02 17:18:49 +05:30
|
|
|
PDF_FILES_SERVING_ENDPOINT = 'http://localhost/storage/Company_Attachments/' # TODO: Change this to actual URL
|