Here you're trying to upload to a directory, whose path starts with a / :
/images.
On *nix, / means system root. Obviously your django process does not have
permission to write there unless you set that up so.
You should remove the leading slash in your upload to path. Your files will
then uploa
Hi Binny,
Your problem sounds like one I had months ago. I got this response at the
time:
You need to make sure that the same process running your python interpreter
has write permissions to your media directory.
>From StackOverflow:
"The process that is running your Python interpreter doesn't h
But i want to upload to following path..
/usr/local/apache2/htdocs/goibibo/travelibibo/static/refundsReports/%Y%m%d
And the first back slash is must. I can't remove that. So please let me
know how can i handle this case.
Thanks,
Binny
On Tuesday, August 19, 2008 6:17:16 PM UTC+5:30, Jon Atkin
Marty,
That was the problem, thank you for you help.
--Jon
On Tue, Aug 19, 2008 at 2:13 PM, Marty Alchin <[EMAIL PROTECTED]> wrote:
>
> On Tue, Aug 19, 2008 at 8:47 AM, Jon Atkinson <[EMAIL PROTECTED]> wrote:
>> I'm trying to work with a model which accepts a logo image upload via
>> an ImageFi
On Tue, Aug 19, 2008 at 8:47 AM, Jon Atkinson <[EMAIL PROTECTED]> wrote:
> I'm trying to work with a model which accepts a logo image upload via
> an ImageField. My a cut down version of my model is below:
>
> class Promoter(models.Model):
>name = models.CharField(max_length=100)
>
5 matches
Mail list logo