Update utils.py

Fixes hidden field rendering on Django 1.8