You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AttributeError: 'NoneType' object has no attribute 'topics'
(28 additional frame(s) were not displayed)
...
File "rest_framework/serializers.py", line 663, in to_representation
return [
File "rest_framework/serializers.py", line 664, in <listcomp>
self.child.to_representation(item) for item in iterable
File "rest_framework/serializers.py", line 515, in to_representation
ret[field.field_name] = field.to_representation(attribute)
File "rest_framework/fields.py", line 1882, in to_representation
return method(value)
File "courses/serializers.py", line 158, in get_topics
[{"name": topic.name} for topic in instance.page.topics.all()],
The text was updated successfully, but these errors were encountered:
Sentry Issue: XPRO-65D
The text was updated successfully, but these errors were encountered: