Commit 6dd91cdd authored by Glaucia S. Santos's avatar Glaucia S. Santos
Browse files

Fix space in serializer

parent 9f54ddd4
......@@ -132,7 +132,7 @@ class ActionSerializer(serializers.ModelSerializer):
def get_complements(self, obj):
if obj.target:
if isinstance(obj.target, LearningObject):
unit = ' a atividade {}'.format(obj.target.unit.title)
unit = 'a atividade {}'.format(obj.target.unit.title)
step = 'na etapa {}'.format(obj.target.unit.lesson.name)
course = 'do curso {}'.format(obj.target.unit.lesson.course.name)
compl = {'atividade': unit, 'etapa': step, 'curso': course}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment