For example, when a member registers a post and it is registered as 07/01/2017 in the 'Automatically Deleted Date' attribute,
We would like to implement a function that automatically changes the value of 'is_deleted' to true after that date.
Please give me some rough advice on how to implement it.
django
You should write a batch program that updates is_deleted by checking the automatic deletion date on a daily basis. Search 'Schedule' or 'Deployment'.
© 2024 OneMinuteCode. All rights reserved.