Skip to content

Commit

Permalink
added category to voter JSONification
Browse files Browse the repository at this point in the history
  • Loading branch information
benadida committed Sep 2, 2008
1 parent 540b969 commit 2343d7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/modelsbase.py
Expand Up @@ -258,7 +258,7 @@ def __getitem__(self, value):
return int(models.ElectionExponent.get_exp(self.election, str(value)))

class VoterBase(DBObject):
JSON_FIELDS = ['voter_id','name', 'email']
JSON_FIELDS = ['voter_id','name', 'email','category']

@classmethod
def selectByEmailOrOpenID(cls, election, email, openid_url):
Expand Down

0 comments on commit 2343d7f

Please sign in to comment.