Need up to 30 seconds to load.
Django we have here template room.html
this is extended template from this
main.html template so here
firstly you have to load the static so
you have to give this
so unloading settings here
then second you have to give the path of
your
stream.js which you want to connect with
any JavaScript file that you want to
connect you have to give the path here
in a script tag so I'm giving here
so script type then this is Javascript
then source is static
then JS stream.js how JS as you can see
here I have Js folder in this static so
static then JS then stream.js so change
this we have streamed objects I am
connecting this
so now our Javascript file is connected
to this HTML so check
here just give console.log then the
string.js is connected so whenever we
will call this room.s table file then it
will call this stream.js file because
now this JS file is connected to this
HTML file this template file engine so
now run this
opening a terminal
and run this give the command python
range rotate and server and come here
from going into inspect
in console
I'm refreshing it
as you can see here the student.js is
connected hope so you understand this
video in this we have talked about
thank you for watching