Vote¶
UserVote¶
-
class
policyengine.models.
UserVote
(*args, **kwargs)¶ -
user
¶ The user who cast the vote.
-
proposal
¶ The policy proposal that initiated the vote.
-
vote_time
¶ Datetime object representing when the vote was cast.
-
get_time_elapsed
()¶ Returns a datetime object representing the time elapsed since the vote was cast.
-
BooleanVote¶
Extends
UserVote
.