everyvote / everyvote_mini

Election information app for university student governments and other organizations
www.everyvote.org
1 stars 0 forks source link

Finish Run for Office feature #8

Closed mitchdowney closed 11 years ago

mitchdowney commented 11 years ago

2) Finish the Run for Office feature. Currently clicking the Run for Office button loads a CandidateForm, where the user can select any User, any Election, any Office, and type a Description. The end result is you can add a new candidate to the database, but this isn't ususable for our MVP.

This needs to be changed so that the Run for Office page automatically allows the user to select any Constituency, then select only an Election from within the selected Constituency, then select only an Office that is available for that Election, and then type a Description.

Current (and inadequate) Run for Office page is shown below:

image

mitchdowney commented 11 years ago

finished thanks to nmb.ten on stacked overflow

http://stackoverflow.com/questions/18246326/in-django-how-do-i-set-user-field-in-form-to-the-currently-logged-in-user