I think it would be better to use ".. code-block:: html+django" and remove the double colon.