javed-karim / django-survey

Automatically exported from code.google.com/p/django-survey
0 stars 0 forks source link

Add a "unique" choice #26

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I'm using django-survey as a quick data-entry tool, and wanted some way of
removing a choice once one of the users has answered with it (e.g. only
allow ONE answer for each choice in a given question).

To do this, I added a "UniqueChoiceField" - diff attached.

Probably not worth adding to django-survey on the whole, but I've put it
here in case anyone finds it useful

Original issue reported on code.google.com by dev@simon.net.nz on 19 Oct 2008 at 2:24

Attachments:

GoogleCodeExporter commented 8 years ago
The patch does not apply cleanly on django-survey.

Original comment by yann.ma...@gmail.com on 12 Mar 2009 at 1:45