

def custom_upload_path(self, filename):
    path = (self.path or 'tests')
    return ('%s/%s' % (path, self))

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/tests/modeltests/model_forms/models.py ImageFile.custom_upload_path/VarMisuse@29/38 `filename`->`self`