Resolve "Student Feedback Serializer/View"
Closes #91 (closed)
Merge request reports
Activity
63 63 .all() 64 64 serializer_class = StudentInfoSerializerForListView 65 65 66 def _set_students_active(self, active): That is exactly what i tried at first, unfortunately though:
The update() method is applied instantly, and the only restriction on the QuerySet that is updated is that it can only update columns in the model’s main table, not on related models. You can’t do this, for example:
Entry.objects.update(blog__name='foo') # Won't work!
https://docs.djangoproject.com/en/1.11/ref/models/querysets/#update
Please register or sign in to reply