Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#368] Add
num_followers
after validating the group_dict against a …
…schema. This makes sure that is still there and is necessary because we require a schema in controllers.group.history but there is no `num_followers` field in logic.schema.default_group_schema.
- Loading branch information
c81edd2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tobes Could you look at this and let me know if it makes sense. Also read my commit message.
I'm not sure whether it might be better to change the schema, for example.
Without this change, the group revision page shows an error:
UndefinedError: 'dict object' has no attribute 'num_followers'
.