changeset 95 | e4034904f82e |
parent 94 | d1f59bbc2685 |
child 96 | 2881ed1c52b0 |
94:d1f59bbc2685 | 95:e4034904f82e |
---|---|
180 """ right now, just remove the user from the list of assigned_users. |
180 """ right now, just remove the user from the list of assigned_users. |
181 """ |
181 """ |
182 |
182 |
183 main_task.assigned_users.remove(rem_user) |
183 main_task.assigned_users.remove(rem_user) |
184 main_task.save() |
184 main_task.save() |
185 |
|
186 def completeTask(main_task): |
|
187 """ set the status of task to CP. |
|
188 """ |
|
189 |
|
190 main_task.status = "CP" |
|
191 main_task.save() |