def dictify(self):
        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
Returns an OrderedDict of model attributes
dataset/ETHPy150Open mozilla/standup/standup/apps/users/models.py/User.dictify