Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tp2000 1471 task workflow #1298

Draft
wants to merge 48 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
340439c
App initial commit.
paulpepper-trade Aug 29, 2024
301644a
TP2000-1472 Revise task-related models (#1288)
dalecannon Sep 19, 2024
ee4871d
TP2000-1473 Register task-related models in admin site (#1289)
dalecannon Sep 20, 2024
9faac8b
Merge branch 'master' into TP2000-1471--task-workflow
paulpepper-trade Sep 20, 2024
0595097
Merge branch 'master' into TP2000-1471--task-workflow
dalecannon Oct 29, 2024
de2733c
Implement prototype UI for tasks (#1308)
dalecannon Oct 31, 2024
ddfea35
TP2000-1487: Create Subtask Form (#1319)
marya-shariq Nov 11, 2024
ead85bc
TP2000-1540, TP2000-1541, TP2000-1546 & TP2000-1553 queues, workflows…
paulpepper-trade Nov 12, 2024
4d7dda9
TP2000-1543 Prototype workflow template detail view (#1322)
dalecannon Nov 12, 2024
77760e5
PR template tweaks
paulpepper-trade Nov 12, 2024
80c0b80
Merge branch 'master' into TP2000-1471--task-workflow
paulpepper-trade Nov 12, 2024
5ec8f38
Black formatting
paulpepper-trade Nov 12, 2024
d1d18ed
TP2000-1545 Add task template reordering capability to workflow temp…
dalecannon Nov 14, 2024
84e3c16
TP2000-48 & TP2000-1549 Task template create and detail views (#1326)
paulpepper-trade Nov 15, 2024
f2bead0
TP2000-1551 Task template update views and forms (#1327)
paulpepper-trade Nov 15, 2024
d103846
Fix typo in macro import
paulpepper-trade Nov 15, 2024
d0466d4
Merge branch 'master' into TP2000-1471--task-workflow
paulpepper-trade Nov 15, 2024
01db672
TP2000-1569 Embellish create subtask journey (#1325)
LaurenMullally Nov 18, 2024
baf7f61
Add support view support for task workflow deletion (#1329)
paulpepper-trade Nov 18, 2024
f4f351c
TP2000-1544 Prototype workflow template create & update views (#1328)
dalecannon Nov 18, 2024
bc787f8
Fix double quotes lint error from create subtask form pr
LaurenMullally Nov 18, 2024
a28e7bd
TP2000-1573 Implement workflow template delete view (#1330)
dalecannon Nov 19, 2024
2ff7858
Tp 2000 1489 delete subtask (#1332)
marya-shariq Nov 21, 2024
e9a4546
deleted comments
marya-shariq Nov 21, 2024
993ec64
TP2000-1488 Edit Subtasks (#1334)
LaurenMullally Nov 25, 2024
f55394a
Tp2000 1589 - temporary list views tile (#1338)
marya-shariq Nov 25, 2024
5884cfc
Merge branch 'master' into TP2000-1471--task-workflow
paulpepper-trade Nov 25, 2024
7dfe059
TP2000-1590 TaskWorkflow summary info support (#1337)
paulpepper-trade Nov 25, 2024
997d36a
Update TaskWorkflowTemplate.create_task_workflow() method and unit te…
dalecannon Nov 28, 2024
4540d83
TP2000-1556 Implement workflow create view (#1340)
dalecannon Nov 28, 2024
2ea9f5c
TP2000-1555 Implement workflow detail view (#1341)
dalecannon Nov 28, 2024
708944c
TP2000-1602 Implement workflow delete view (#1342)
dalecannon Nov 28, 2024
02044ba
Factor out workflow item management helper functions into view mixin …
dalecannon Dec 4, 2024
2bafa60
Merge branch 'master' into TP2000-1471--task-workflow
paulpepper-trade Dec 5, 2024
442fd3e
Tp2000 1592 workflow template list view (#1348)
marya-shariq Dec 5, 2024
363bced
TP2000-1582 Enable customisable queue field name on QueueItem subcla…
dalecannon Dec 6, 2024
ec10b14
Include user param in form.save() call (#1350)
paulpepper-trade Dec 6, 2024
3e67a87
Merge branch 'master' into TP2000-1471--task-workflow
paulpepper-trade Dec 9, 2024
821d5e8
TP2000-1557 Implement workflow edit view (#1347)
dalecannon Dec 10, 2024
d9937d1
TP2000-1580 Task workflow combined list view pt2 (#1353)
paulpepper-trade Dec 10, 2024
31cafe9
Merge branch 'master' into TP2000-1471--task-workflow
paulpepper-trade Dec 10, 2024
206cc7d
TP2000-1615 Various errors (#1357)
paulpepper-trade Dec 17, 2024
ab3854f
Tp2000 1594 ordering of workflow templates list view (#1356)
marya-shariq Dec 17, 2024
10f14de
Merge branch 'master' into TP2000-1471--task-workflow
paulpepper-trade Dec 17, 2024
dd663ac
Add migrations.
paulpepper-trade Dec 17, 2024
5824196
Fix failing test (#1362)
paulpepper-trade Dec 17, 2024
4f054b6
Fix UI bug (#1364)
paulpepper-trade Dec 18, 2024
d1c3505
TP2000-1600 Add Subtask filter to Task admin view (#1344)
LaurenMullally Dec 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Include user param in form.save() call (#1350)
  • Loading branch information
paulpepper-trade authored Dec 6, 2024
commit ec10b14f8464c18c3cec2d817fd98aff4f558cbb
4 changes: 4 additions & 0 deletions tasks/views.py
Original file line number Diff line number Diff line change
@@ -521,6 +521,10 @@ def get_context_data(self, **kwargs):
context["list_url"] = reverse("workflow:task-workflow-template-ui-list")
return context

def form_valid(self, form):
self.object = form.save(user=self.request.user)
return HttpResponseRedirect(self.get_success_url())

def get_success_url(self):
return reverse(
"workflow:task-workflow-template-ui-confirm-create",
Loading