Django dynamic time settings in DB

36 views
Skip to first unread message

adiath...@gmail.com

unread,
Jul 26, 2020, 1:50:11 PM7/26/20
to Django users
How can you continuously update your DB time field in django without post request.

Larry Martell

unread,
Jul 26, 2020, 1:59:22 PM7/26/20
to django...@googlegroups.com
On Sun, Jul 26, 2020 at 1:50 PM adiath...@gmail.com
<adiath...@gmail.com> wrote:
>
> How can you continuously update your DB time field in django without post request.

Use websockets and channels.

adiath...@gmail.com

unread,
Jul 26, 2020, 2:24:17 PM7/26/20
to Django users
can you please give a documentation reference on that?

jhabar singh

unread,
Jul 26, 2020, 4:20:46 PM7/26/20
to Django users
It is never a good approach to store something in database which needs to be changed after every second. If you to perform asynchronous task then you can use celery 
Reply all
Reply to author
Forward
0 new messages