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, Sithembewena Lloyd Dube
<[email protected]>wrote:

> 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, Kenneth Gonsalves <[email protected]>wrote:
>
>> 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 problem or permission problem
>>
>> I am assuming the filefield is optional
>> --
>> regards
>> Kenneth Gonsalves
>>
>> --
>> 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]<django-users%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>>
>
>
> --
> Regards,
> Sithembewena Lloyd Dube
>



-- 
Regards,
Sithembewena Lloyd Dube

-- 
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.

Reply via email to