|
|
|
@ -135,7 +135,7 @@ class CourseCreateSerializer(DispatchContentMixin, |
|
|
|
gallery = validated_data.pop('gallery', {}) |
|
|
|
gallery = validated_data.pop('gallery', {}) |
|
|
|
course = super().update(instance, validated_data) |
|
|
|
course = super().update(instance, validated_data) |
|
|
|
self.dispatch_materials(course, materials) |
|
|
|
self.dispatch_materials(course, materials) |
|
|
|
self.dispatch_content(course, content, materials) |
|
|
|
self.dispatch_content(course, content) |
|
|
|
self.dispatch_gallery(course, gallery) |
|
|
|
self.dispatch_gallery(course, gallery) |
|
|
|
return course |
|
|
|
return course |
|
|
|
|
|
|
|
|
|
|
|
|