Accessing user home directory from django Accessing user home directory from django unix unix

Accessing user home directory from django


You can set the home directories via MEDIA_URL /or symlink itself.I think of a combined aproach of symlink and os.system calls.

what-is-symlinking-and-how-can-learn-i-how-to-to-do-this

To change the apache user, use os.system(su <command>)changing-user-in-python