I think that I need to just use standard python for uploading these
files to do what I need to do...but figured I'd post ...in case anyone
is doing anything similar with FileFields.

Basically, I have a table Documents.... with fields document_name,
document_path, document_description.  The path obviously holds the path
on the server to the document.

The thing is...when I upload the document... I want to upload it to a
staging directory...where I then generate a UUID for the document...and
rename the document to that UUID + file extension.  I also then go to
my 'media' directory..and create sub directories based on the first
characters of the UUID...and move the file into these directories.

We will be having a lot of documents stored...and this system has been
designed to optimize harddrive performance...and to make sure there is
no name collision.

After reading up on the FileFields... it doesn't seem like I could do
this with them and standard manipulators through Django.... am I
correct...or am I missing something?

Thanks for any info.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to