Skip to content

Commit

Permalink
fix: Remove deprecated 'ddm_graph' template tag from question rendering.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico-AP committed Jul 23, 2024
1 parent 600ba44 commit a3881d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddm/models/questions.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def render_config_content(self, config, participant, view):
@staticmethod
def render_text(text, donated_data, participant_data, view):
if text is not None:
text = '{% load ddm_graphs static %}\n' + text
text = '{% load static %}\n' + text
template = Template(text)
return template.render(Context(
{'data': donated_data, 'participant': participant_data, 'view': view})
Expand Down

0 comments on commit a3881d5

Please sign in to comment.