On Friday, 19 June 2015 17:48:41 UTC+1, Sindhujit Ganguly wrote:
>
> This does not work for javascript defined inside html templates.. This is 
> for html structures.. I needed for multiple line comments in js scripts.
>
>> <https://docs.djangoproject.com/en/1.8/ref/templates/builtins/#comment>
>>
>
That is totally false. Anything within a Django comment tag will not be 
rendered in the output, whether it's HTML or JS.

But if you need comments inside JS scripts, why don't you use JS comment 
syntax?
--
DR.

-- 
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/482d978c-cee4-4ead-bdb4-e676ce61e35b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to