B
B
Boldy2014-11-05 13:25:24
Django
Boldy, 2014-11-05 13:25:24

How can I schedule post updates in django?

There is a model that has foo = models.DateField(...). How can I make the bar(self) function be executed when this date occurs?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anatoly Scherbakov, 2014-11-05
@Boldy

There are at least two options.
The choice of a particular option depends on the characteristics of the project and your personal preferences. If you don't need a lot of background tasks and schedules, and want to conveniently run the procedure manually from the command line, then the first option is easier.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question