On Mon, Feb 8, 2016 at 10:18 AM, Rod Delaporte
wrote:
> I have a field of a model that changes states but I need to automatically
> modify that value after an expiration datetime has come. Is there a way to
> do this?
>
> Here is an example:
>
> class Post(models.Model):
> created_at = models.Dat
Maybe with celery and Django celery you can do what you want. There is a
functionality called crontab that is manage by models with Django celery.
So you can create cron task that will call when you need with a reference
to you model.
As an interesting problem, think in the moment of update you m
2 matches
Mail list logo