Skip to content

Commit

Permalink
Merge pull request #3 from raccoongang/kholodenko/ct-102/override-fee…
Browse files Browse the repository at this point in the history
…dback-handler

feat: [CT-102] override feedback handler
  • Loading branch information
cmltaWt0 authored Jan 20, 2025
2 parents 6f86bf4 + c12b882 commit 12a1c41
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions feedback/feedback.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
from xblock.fields import Scope, Integer, String, List, Float, Boolean

from feedback.utils import _
from edx_django_utils.plugins import pluggable_override

try:
from xblock.utils.resources import ResourceLoader
Expand Down Expand Up @@ -372,6 +373,7 @@ def vote(self, data):
self.vote_aggregate[self.user_vote] += 1

@XBlock.json_handler
@pluggable_override("OVERRIDE_FEEDBACK_HANDLER")
def feedback(self, data, suffix=''): # pylint: disable=unused-argument
'''
Allow students to submit feedback, both numerical and
Expand Down

0 comments on commit 12a1c41

Please sign in to comment.