def get_form_initial(form_class):
    """ Return initial dict for given form class """
    result = {}
    form = form_class()
    for field in form:
        result[field.name] = field.value()
    return result
