Allow passing in hash_func to django.views.jsconnect