def __init__(self, related_name="+", **kwargs):
        if 'to' in kwargs:
            del kwargs['to']
        super(FileField, self).__init__(self.model_class, related_name=related_name, **kwargs)
dataset/ETHPy150Open django-bmf/django-bmf/djangobmf/fields/file.py/FileField.__init__/original