So, I would like to create a validation process of a post between multiple users.
Let say for example that a user creates a post and click on validate or "ask for notice".
I would like to be able to send the new post to a specific user in order to allow him to check the post and its content before validate and publish it.
I would like to let multiple users of the same app to send the post to this specific "team leader" user.
So I think that I need to :
- Create a model for the post
- Create a specific view and render it into an html page for the creation part
- When user click on "ask for notice" button, I want the post to appear in the posts_notice.html page where the "team leader" user would be able to see all the current posts asking for notice and validation. Of course, this team leader user will have the possibility to edit each post. To filter all the posts I was thinking about using a boolean field called "is_noticed". If yes the post is not rendered. If False it is rendered.
- Once all the posts are edited, the team leader will have the possibility to validate all of them in one click.
_ Once everything is validated and published, it will automatically remove all the posts from posts_notice.html page (so put the is_noticed to True), since they will already be noticed by the team leader.
Would that be a good process? Do you have any better idea on how to proceed?
Is there any third-party app that I could used to do that easily?
Thanks a lot !
question from:
https://stackoverflow.com/questions/65876482/django-validation-steps-process 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…