I haven't used Rackspace, but i would assume (hope) they support remote mounting.
I would use sshfs to mount the Rackspace server on your local drive (on the Django server) and reference that in MEDIA_ROOT e.g. sshfs usern...@my.rackspace.domain:/path/to/rackspace/home/dir /mnt/ rackspace change MEDIA_ROOT to MEDIA_ROOT = '/mnt/rackspace/' and MEDIA_URL MEDIA_URL = 'my.rackspace.domain' On Jan 10, 6:55 pm, garagefan <monkeygar...@gmail.com> wrote: > so i bit the hype and got myself a rackspace cloud account. i also got > a rackspace file account for image serving. i would like to write > something that overrides where all images are saved, regardless of the > model that requests the save. > > what would this be? would i make this a middleware? I assume i need to > extend and "replace" the default "save file to MEDIA_ROOT directory" > > i havent had to extend or replace django's default behavior, so before > i start digging in to this, i need to know the best place for this... > which, i assume would be middleware. yes? > > thanks! -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.