Skip to content

Commit

Permalink
feat: [CT-102] override feedback handler
Browse files Browse the repository at this point in the history
  • Loading branch information
kyrylo-kh committed Jan 17, 2025
1 parent a62105f commit 358f9a0
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 358f9a0

Please sign in to comment.