Open GoogleCodeExporter opened 8 years ago
I see some of this functionality in SOClone (bet you thought nobody reads that
stuff
:-)):
http://code.google.com/p/soclone/source/browse/trunk/soclone/models.py?spec=svn1
4&r=14
I'll try adapting some of that stuff for porting here. My goal is actually to
have:
Events (django-events)
Possible Outcomes of Events (similar to 'answers' in SOClone)
Votes on Possible Outcomes of Events (django-voting once this ticket is done)
History of Votes on Possible Outcomes of Events (django-voting once this ticket
is done)
I'm going to work on this over the next week but would love to coordinate with
somebody so that there is a reusable chunk of code.
Adam - adam@varud.com
Original comment by arocki...@gmail.com
on 16 Jan 2009 at 11:23
This diff does three very small things:
1. Comments out redundant ctype variable setting in managers.py (that line
could just
be deleted).
2. Saves '0' votes so we know, for instance, if somebody ever voted.
3. Adds 'created_on' field so that we know when the the vote was made.
I'd really love it if these small changes can be made to the voting app -
otherwise
I'm going to have to fork it (although perhaps I could extend these classes?).
I'm
fine with another field name for 'created_on' in #3.
Original comment by arocki...@gmail.com
on 2 Feb 2009 at 4:50
Attachments:
Original issue reported on code.google.com by
arocki...@gmail.com
on 16 Jan 2009 at 9:24