when i try to update a data in my table in this case approving a post, it says changed successfully but when i go back to the data the post still not yet approved, why is this happen?
We’ll need you to be more specific here.
What are you expecting to see happen? (Specifically, in terms of content on a page)
What are the models involved? (Specifically, post the code for the models)
What are you changing? (Specifically, what fields are you setting to what value?)
What view is generating the pages that isn’t showing the expected results?
Note: Please do not post images of code. Copy/paste the code into the body of your post, surrounded by lines of three backtick - ` characters. This means you’ll have a line of ```, then your code, then another line of ```. This will force the forum software to keep your code properly formatted, which is critical with python.