We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10939b0 commit 7ff49fbCopy full SHA for 7ff49fb
1 file changed
edit_course/exercise_forms.py
@@ -55,6 +55,8 @@ def init_fields(self, **kwargs):
55
self.fields["parent"].queryset = LearningObject.objects\
56
.exclude(id=self.lobject.id)\
57
.filter(course_module=self.lobject.course_module)
58
+ self.fields['parent'].widget.attrs.update(
59
+ {'readonly': True, 'disabled': True})
60
61
@property
62
def remote_service_head(self):
0 commit comments