• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 20. Approval Workflow for Messages > Step 6: Adjusting a Message Thread

Step 6: Adjusting a Message Thread

Now you have a working workflow, a way for the message writer to request publication, and a view for the editor to approve or reject messages. But the workflow does not impinge on the interaction of the user with the message board at all yet. Therefore, you need to modify the message thread view to show only published messages.

The change requires only two more lines in browser/thread.py. First, you import the hasMessageStatus() function:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint