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 th

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 e

Using a HTML to fire off a data processing script on the server (REST or SOAP)

2008-11-20 Thread Shao
ipt to check if it's done); * user refreshes the page (or the page refreshes itself) until script is finished, and the page says "script finished; here are the results" * some kind of cleanup of data, either with a cron job or manual