Ticket #9396: django.dbmodels.fields.files.patch
File django.dbmodels.fields.files.patch, 440 bytes (added by , 16 years ago) |
---|
-
files.py
old new 138 138 if arg in kwargs: 139 139 raise TypeError("'%s' is not a valid argument for %s." % (arg, self.__class__)) 140 140 141 upload_to = settings.FILE_UPLOAD_TEMP_DIR 141 142 self.storage = storage or default_storage 142 143 self.upload_to = upload_to 143 144 if callable(upload_to):