]> git.cworth.org Git - turbot/commit
Handle the submission of the "New Hunt" modal
authorCarl Worth <cworth@cworth.org>
Fri, 16 Oct 2020 20:22:15 +0000 (13:22 -0700)
committerCarl Worth <cworth@cworth.org>
Sat, 17 Oct 2020 00:09:26 +0000 (17:09 -0700)
commit3201514c9991ffcd1ceefa57ce180a095af7ba0a
tree3d4d04daffbced7c7083abf0edf87eab45e5e576
parentc06abc47680c1675a35f03dd6d3268f32eef88c4
Handle the submission of the "New Hunt" modal

By creating a new entry in the hunts table.

As part of this change we rework turbot/views.py so that the block
functions it had are now in turbot/blocks.py (where they are usefully
shared). Meanwhile, the actual views that were being created are now
created above in events.py, actions.py, etc. where they can be
associated with functions to handle the submission of those views,
etc.
turbot/actions.py
turbot/blocks.py [new file with mode: 0644]
turbot/events.py
turbot/views.py [deleted file]
turbot_lambda/turbot_lambda.py