feat: job posting

This commit is contained in:
Jannat Patel
2021-12-28 22:26:52 +05:30
parent fcfda68d88
commit b1b8f202c9
22 changed files with 539 additions and 24 deletions

9
school/www/jobs/job.py Normal file
View File

@@ -0,0 +1,9 @@
import frappe
def get_context(context):
try:
job = frappe.form_dict["job"]
except KeyError:
frappe.local.flags.redirect_location = "/jobs"
raise frappe.Redirect
context.job = frappe.get_doc("Job Opportunity", job)