Files
enlight-lms/school/www/hackathons/index.py
2021-10-11 20:31:27 +05:30

8 lines
170 B
Python

import frappe
def get_context(context):
context.no_cache = 1
context.hackathons = get_hackathons()
def get_hackathons():
return frappe.get_all("Community Hackathon")