Pressing enter/return key does not submit the list_editable in Django admin

2017-03-02 Thread Leo Shao
I'm assuming this is because there are two submit buttons in one form and when pressing enter (while focused on an input), it submits the action (e.g. delete) rather than the list_editable. When I press enter (while focused on an 'hours' input), it reacts

Django - How to have multiple (4) distinct forms in CBV

2016-12-09 Thread Leo Shao
I need 4 forms to: sign up for an event (1), un-sign up for an event (2), type in a passcode to manage an event (3) which then shows a modal box that allows that person to check in everyone that shows up at the event (4). I'm using a (ListView, FormView) to allow looping through the numerous