Hi,
As any other variable:
var myAwesomeVar = {{ my_awesome_var }};
alert(myAwesomeVar);
> On 15 Nov 2016, at 18:46, kml Awad wrote:
>
> Hi,
>
> How can I inject javacript object (variable ) in django template (html) ?
>
> Thank you for your help.
>
> regards.
>
Hi,
How can I inject javacript object (variable ) in django template (html) ?
Thank you for your help.
regards.
--
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
2 matches
Mail list logo