Good idea, Kenneth. I will do so. Thanks.
On Fri, Dec 10, 2010 at 8:00 AM, Kenneth Gonsalves wrote:
> On Thu, 2010-12-09 at 14:57 +0200, Sithembewena Lloyd Dube wrote:
> > Thanks Kenneth. I tried your recommendation, the file is not uploaded
> > at
> > all. I'm stumped by
On Thu, 2010-12-09 at 14:57 +0200, Sithembewena Lloyd Dube wrote:
> Thanks Kenneth. I tried your recommendation, the file is not uploaded
> at
> all. I'm stumped by this, as
> the folder is writable by apache. I will post on here when I do
> implement a
> fix.
>
>
do one thing - make the file
Thanks Kenneth. I tried your recommendation, the file is not uploaded at
all. I'm stumped by this, as
the folder is writable by apache. I will post on here when I do implement a
fix.
On Thu, Dec 9, 2010 at 1:46 PM, Kenneth Gonsalves wrote:
> On Thu, 2010-12-09 at 13:42 +0200,
On Thu, 2010-12-09 at 13:42 +0200, Sithembewena Lloyd Dube wrote:
> Thanks Kenneth, am trying to figure out how to set the MEDIA_ROOT to
> the
> folder outside the project.
/home/lloyd/smedia/ and make it writable by the webserver
--
regards
Kenneth Gonsalves
--
You received this message
Thanks Kenneth, am trying to figure out how to set the MEDIA_ROOT to the
folder outside the project.
On Thu, Dec 9, 2010 at 12:58 PM, Kenneth Gonsalves wrote:
> On Thu, 2010-12-09 at 12:47 +0200, Sithembewena Lloyd Dube wrote:
> > Is it proper/ feasible to save media to and
On Thu, 2010-12-09 at 12:47 +0200, Sithembewena Lloyd Dube wrote:
> Is it proper/ feasible to save media to and serve it from, a media
> folder
> outside of the project?
it is proper - as this will not come under version control whereas the
project will
--
regards
Kenneth Gonsalves
--
You
Issue isolated. The uploads are going into the MEDIA_ROOT, which is the
'media' folder in my app.
The MEDIA_URL is pointing to a location outside of the project.
Is it proper/ feasible to save media to and serve it from, a media folder
outside of the project?
On Thu, Dec 9, 2010 at 12:01 PM,
Hi Kenneth,
The FileField is optional indeed. Surely it should be populated where a file
is provided though?
Update: turns out I have not installed the PIL on my staging server. Am
doing so now and retesting. this may well turn out to be a PEBKAC :)
Thanks.
On Thu, Dec 9, 2010 at 11:46 AM,
On Thu, 2010-12-09 at 15:11 +0530, Kenneth Gonsalves wrote:
> On Thu, 2010-12-09 at 10:20 +0200, Sithembewena Lloyd Dube wrote:
> > However, my live application fails to upload the file (ie the
> > FileField is
> > empty in the database after uploading, and the file is not
> uploaded).
>
> path
On Thu, 2010-12-09 at 10:20 +0200, Sithembewena Lloyd Dube wrote:
> However, my live application fails to upload the file (ie the
> FileField is
> empty in the database after uploading, and the file is not uploaded).
path problem or permission problem
--
regards
Kenneth Gonsalves
--
You
PS: I also a have a separate model which is using an ImageField subclass to
upload an avatar. On my development machine, I can edit a record and change
the thumbnail without issues. On the live server, nice the thumbnail is
saved it cannot be changed.
Ideas?
On Thu, Dec 9, 2010 at 10:20 AM,
Hi guys,
I have a form where I use a FileField to upload a file to the server and
this works fine on my local machine.
However, my live application fails to upload the file (ie the FileField is
empty in the database after uploading, and the file is not uploaded).
I know this is a pot shot, but
12 matches
Mail list logo