

def dictify(self):
    'Returns an OrderedDict of model attributes'
    data = OrderedDict()
    data['id'] = self.id
    data['username'] = self.username
    data['name'] = self.name
    data['slug'] = self.slug
    data['email'] = self.email
    data['github_handle'] = self.github_handle
    data['is_admin'] = self.is_admin
    return data

dataset/ETHPy150Open mozilla/standup/standup/apps/users/models.py User.dictify/original