Bug: TODOs with {# django comments #}

If I put a TODO statement inside a django template comment, it appears in the TODO list until I save the file. If I do a <!-- traditional HTML comment -->, things work fine.

I suspect the file is being re-processed as plain HTML and not recognizing django template tags.

I'm using PyCharm 1.5 on OS X.

Best Regards,

Philip

1 comment
Comment actions Permalink

Hello Philip,

Thanks for the report! I was able to reproduce it in some cases. Filed http://youtrack.jetbrains.net/issue/PY-4233

If I put a TODO statement inside a django template comment, it appears

in the TODO list until I save the file. If I do a <!-- traditional

HTML comment -->, things work fine.

I suspect the file is being re-processed as plain HTML and not

recognizing django template tags.

I'm using PyCharm 1.5 on OS X.

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

0

Please sign in to leave a comment.