def forwards(self, orm):
        for profile in orm.UserProfile.objects.all():
            user = User.objects.get(pk=profile.user.id)
            for mk in profile.followed_members.all():
                follow(user, mk)
            for party in profile.followed_parties.all():
                follow(user, party)
Write your forwards methods here.
dataset/ETHPy150Open ofri/Open-Knesset/user/migrations/0002_follow_with_activity_stream.py/Migration.forwards