hi,
I am trying to create folder.
here is the code:
if not os.path.isdir(str(_user.username)):
os.mkdir(str(_user.username) )
filepathwithname = os.path.join(str(_user.username), file_name)
if not os.path.isfile(filepathwithname):
workbook.save(os.path.join(str(_user.username),
file_name))
The problem is I am getting permission denied error.
It works fine when I am using runserver. but getting error while
using apache2
Can anyone help me out.
Thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---