On Aug 28, 2008, at 12:31 PM, [EMAIL PROTECTED] wrote:

> What would be ideal for me to do is to be able to store the images
> that are uploaded via the admin site on the main web server and then
> the audio that we upload via the admin site onto the streaming media
> server.
>
> Is this possible with Django, also if so is there any documentation
> out there on how to set the servers up so I can pass that along to our
> network admin set the servers up for me?


You should be able assign a callable to the upload_to argument for  
FileFields:

http://docs.djangoproject.com/en/dev/ref/models/fields/#django.db.models.FileField

Then you can write your own method that returns the proper path.

---
David Zhou
[EMAIL PROTECTED]




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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