Ticket #9396: django.dbmodels.fields.files.patch

File django.dbmodels.fields.files.patch, 440 bytes (added by spkane, 16 years ago)

Patch (Hack) - Needs much better implementation

  • files.py

    old new  
    138138            if arg in kwargs:
    139139                raise TypeError("'%s' is not a valid argument for %s." % (arg, self.__class__))
    140140
     141        upload_to = settings.FILE_UPLOAD_TEMP_DIR
    141142        self.storage = storage or default_storage
    142143        self.upload_to = upload_to
    143144        if callable(upload_to):
Back to Top