lto:[EMAIL PROTECTED] On Behalf Of Mike H
Sent: 05 May 2008 15:21
To: django-users@googlegroups.com
Subject: Re: Filefield upload_tol
I can replicate this by putting in a file path that does not exist in
the HIP form. The validation fails for the file field but the error is
not rendered.
edi
ango-users@googlegroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Kenneth Gonsalves
Sent: 05 May 2008 15:14
To: django-users@googlegroups.com
Subject: Re: Filefield upload_tol
On 05-May-08, at 7:22 PM, Ben Eliott wrote:
> hip = models.FileField(upload_to='/tmp',core=True)
try upload_to=
Maybe this will be of help: the MEDIA_URL is: 'http://example.com/tmp/
> (there is a further tmp subdir within that) and when the files save
> correctly the admin form shows the link as the absolute path that was
> written in upload_to clicking to http//example.com +appended with the
On 05-May-08, at 7:22 PM, Ben Eliott wrote:
> hip = models.FileField(upload_to='/tmp',core=True)
try upload_to='tmp' <--- no '/'
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/code/
--~--~-~--~~~---~--~~
You received this
link as the absolute path that was
written in upload_to clicking to http//example.com +appended with the
same absolute path 'http://www.example.com/absolute/path/to/file.txt'.
-Original Message-
From: django-users@googlegroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Kenneth Go
On 05-May-08, at 6:46 PM, Ben Eliott wrote:
> Thanks for for your swift attention.
> It reloads the same form with the message at the top: 'Please correct
> the error below.' (although it doesn't actually show any error below).
please paste your model here
--
regards
kg
http://lawgon.livejou
CTED] On Behalf Of Kenneth Gonsalves
Sent: 05 May 2008 13:39
To: django-users@googlegroups.com
Subject: Re: Filefield upload_tol
On 05-May-08, at 5:33 PM, Ben Eliott wrote:
> Hi, I'm getting started in the (highly enjoyable!) admin models -
> FileField upload works when I give u
On 05-May-08, at 5:33 PM, Ben Eliott wrote:
> Hi, I'm getting started in the (highly enjoyable!) admin models -
> FileField upload works when I give upload_to the full absolute
> filepath.
> However, as soon as I try and use MEDIA_ROOT in settings.py it baulks.
what do you mean by 'baulks' -
Hi, I'm getting started in the (highly enjoyable!) admin models -
FileField upload works when I give upload_to the full absolute filepath.
However, as soon as I try and use MEDIA_ROOT in settings.py it baulks.
Permissions are wide open, I've tried every combination of slashes &
paths -- but it onl
9 matches
Mail list logo