def __init__(self, formdata=None, obj=None, prefix='', csrf_context=None, title=None, **kwargs): CSRFForm.__init__(self, formdata, obj, prefix, csrf_context, **kwargs) self.team_cleanup.label.text = title
def __init__(self, formdata=None, obj=None, prefix='', csrf_context=None, **kwargs): if obj is None: raise ValueError("Must always provide an existing team") CSRFForm.__init__(self, formdata, obj, prefix, csrf_context, **kwargs)