I want to implement the function of changing the data value at a fixed time.

Asked 2 years ago, Updated 2 years ago, 47 views

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

2022-09-22 13:40

1 Answers

You should write a batch program that updates is_deleted by checking the automatic deletion date on a daily basis. Search 'Schedule' or 'Deployment'.


2022-09-22 13:40

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.