A
A
AlexBoss2019-06-18 14:07:54
Django
AlexBoss, 2019-06-18 14:07:54

What is the best way to organize a Django website?

Good afternoon. I want to make a site on Django, so that an application constantly spins in the back, which constantly updates the data (for example, exchange rates from different sites), and when the site is requested, the data at the time of the last update was displayed. How can I best implement this, or maybe do without Django at all?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey Gornostaev, 2019-06-18
@AlexBoss

For background tasks, use Celery or similar systems.

P
Pasechnik Kuzmich, 2019-06-18
@Hivemaster

You can write a command to get the current rates and periodically call it from cron .

N
Nikola_Piterskiy, 2019-06-19
@Nikola_Piterskiy

How did the author solve the problem? I solve the same problem, you can discuss it in a personal if you are interested
https://t.me/AlexandrTlT

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question