[1.7.x] Fix missing highlighting in some code examples
[1.7.x] Fix missing highlighting in some code examples

Backport of 84cafc2b35 from master

oscaro/django,oscaro/django,jyotsna1820/django,jyotsna1820/django,oscaro/django,jyotsna1820/django,jyotsna1820/django,oscaro/django