def __init__(self, *args, **kwargs):
    parents = kwargs.pop('parents', None)
    forms.Form.__init__(self, *args, **kwargs)
    if parents:
      self.fields['parent'].choices = parents
Initializes EditForm.
dataset/ETHPy150Open DeanCutlet/filestack/views.py/EditForm.__init__