That can be achieved by an onclick listener on your button using
JavaScript, that's not a Django related question.

Le lun. 8 juin 2020 à 20:12, _M_A_Y_A_N_K_ <mayanktripath...@gmail.com> a
écrit :

> Do you already have a python code for StopWatch...? If so then you can
> directly use that python code in your django view and send it to the HTML
> page.
> Playing with Button as Start / Stop can be done using HTML and (or)
> JavaScript.
>
> Let me know if you need help in python code for StopWatch.
>
> Hope this helps.
>
> Thanks & Regards,
> ---------------------
> Mayank Tripathi
>
> On Mon, Jun 8, 2020 at 12:26 PM meera gangani <meeragangan...@gmail.com>
> wrote:
>
>> Hello,
>>
>>       I want to create Stopwatch in django where, we provide One start
>> button and that turned into stop button,
>>                    it means when we click the start button that turns
>> into a stop button.
>>
>> Please help me out!!
>>
>>
>> Thanks 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/CANaPPPJr5o9CYHEYfgHuS-t9mMoGJ3K1tjg5FMwQa%3DWbir9QTQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CANaPPPJr5o9CYHEYfgHuS-t9mMoGJ3K1tjg5FMwQa%3DWbir9QTQ%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/CALQo0B-UkS4hj2TmtzSw0Z0N9NJ14fMeW%2BhfZY5SBmBoAuyosQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CALQo0B-UkS4hj2TmtzSw0Z0N9NJ14fMeW%2BhfZY5SBmBoAuyosQ%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/CAOwHV69vG8mCDNFrV8qeEgeA2c682Hi7p-9VSHD5w-7gwOL8%3DA%40mail.gmail.com.

Reply via email to