Changeset 130

Show
Ignore:
Timestamp:
02/06/10 23:34:06 (6 months ago)
Author:
max
Message:

Utility function supposed to be a part of Changeset [129].

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/courant/core/media/utils.py

    • Property svn:eol-style set to native
    r64 r130  
    88def get_file_path(instance, filename): 
    99    return get_storage_path(instance, filename, 'files') 
     10 
     11def get_temp_file_path(instance, filename): 
     12    return get_storage_path(instance, filename, 'tmp') 
    1013 
    1114def get_storage_path(instance, filename, prefix=settings.UPLOADED_MEDIA_DIR):