fix: batch meta image saving
This commit is contained in:
@@ -274,7 +274,7 @@ def create_batch(
|
|||||||
"description": description,
|
"description": description,
|
||||||
"batch_details": batch_details,
|
"batch_details": batch_details,
|
||||||
"batch_details_raw": batch_details_raw,
|
"batch_details_raw": batch_details_raw,
|
||||||
"image": meta_image,
|
"meta_image": meta_image,
|
||||||
"seat_count": seat_count,
|
"seat_count": seat_count,
|
||||||
"start_time": start_time,
|
"start_time": start_time,
|
||||||
"end_time": end_time,
|
"end_time": end_time,
|
||||||
|
|||||||
@@ -44,6 +44,7 @@ def get_context(context):
|
|||||||
"published",
|
"published",
|
||||||
"allow_future",
|
"allow_future",
|
||||||
"evaluation_end_date",
|
"evaluation_end_date",
|
||||||
|
"meta_image",
|
||||||
],
|
],
|
||||||
as_dict=True,
|
as_dict=True,
|
||||||
)
|
)
|
||||||
@@ -156,7 +157,6 @@ def get_class_course_details(batch_courses):
|
|||||||
"image",
|
"image",
|
||||||
"upcoming",
|
"upcoming",
|
||||||
"short_introduction",
|
"short_introduction",
|
||||||
"image",
|
|
||||||
"paid_course",
|
"paid_course",
|
||||||
"course_price",
|
"course_price",
|
||||||
"enable_certification",
|
"enable_certification",
|
||||||
|
|||||||
Reference in New Issue
Block a user