improve error when an invalid type was passed to Array
add license header to util/django
fix typo in util/django