836a4b5e54
Co-authored-by: Chinmay Pai <chinmaydpai@gmail.com>
5 lines
227 B
Python
5 lines
227 B
Python
from __future__ import unicode_literals
|
|
import frappe
|
|
|
|
def get_context(context):
|
|
context.featured = frappe.get_all('Program', filters={'is_featured': 1}, fields=['program_name', 'program_code', 'description', 'hero_image']) |