gnowledge/gstudio — pull request #798 by AvadootNachankar (2014-09-15 10:27:04+00:00)
Title: Bug resolved - While saving sub-types of Courses (NUSSD Course) & (Announced Course)

**Functionalities implemented:**

1) Bug resolved: While saving sub-types of Courses (NUSSD Course) & (Announced Course)

- Since using course_create_edit() function for saving both sub-type's GSystem, code was written explicilty to fetch few fields which exists only in case of 'Announced Course'. And it was throwing error while attempting to save/update NUSSD course as those fields doesn't exist for this GSystemType.

- File modified:

1) views/course.py

- Checking whether request object has certain fields, if exists only then process those respective field(s); otherwise continue with code!