Commit 229a4e5
committed
add @atomic decorator to view method
This allows AppointmentWorkflowStepCompletion and Study updates to
participate in the same database transaction.
I decided against moving the step completion code into the StudyService
as logically they are unrelated, and they belong to separate apps.
Doing the former update in the view is also more consistent with what
the other views are already doing.1 parent 9078b5e commit 229a4e5
File tree
1 file changed
+1
-0
lines changed- manage_breast_screening/mammograms/views
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| 251 | + | |
251 | 252 | | |
252 | 253 | | |
253 | 254 | | |
| |||
0 commit comments