fixed django form warnings resulting from upgrade