[Answer]-How can I automatically modify a database record after a certain amount of time?


You can accomplish these 2 things with a package called Celery.

Celery is an asynchronous task queue/job queue based on distributed message passing.

Here’s an introduction for Django users:

For Question 1 – You can execute a Periodic Task in Celery using the crontab scheduler type:

For Question 2 – I would reference the following Stack Overflow question for executing a delayed task in a model:
Django – Executing a task through celery from a model

Leave a comment