For that you need to create a api and use ajax on javascript side to. Use this api to push that variable either periodically or as per req
On Tue, 9 Jun, 2020, 10:24 am meera gangani, <meeragangan...@gmail.com> wrote: > I have a html file in which i have implementing stopwatch and i have to > that variable stored in django > > Here is my script.txt file is a js file, i don't know how to store js > variables in django and stored into the database, > please help me out!!!! > > Thanking You in advance > -Meera Gangani > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CANaPPPLYTdqUFxoDL8eTUGtMpsqdsptZKAPC6RR6h_-HuF9TdA%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CANaPPPLYTdqUFxoDL8eTUGtMpsqdsptZKAPC6RR6h_-HuF9TdA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALZ%3DbELFgWSwmH3nmYfb%3D_0adi1dgbTazPvHWfuPnKZa%3DXzFyw%40mail.gmail.com.