You should retrieve file from request.FILES, not request.POST.
On Dec 4, 2:57 pm, guptha wrote:
> Hi group ,
> I am getting error like "Key 'fathers_photo' not found in
>
> forms.py
> class FatherProfileForm(forms.Form):
> fathers_photo = forms.ImageField(required=False)
> fathers_mobile
Hi group ,
I am getting error like "Key 'fathers_photo' not found in
{{fatherprofileform.as_p}}
Here FatherProfileForm does not represent UserProfile model .In this
case how can the error be rectified ?
Ganesh
--
You received this message because you are subscribed to the Google Groups
"
On Monday 26 Sep 2005 12:48 am, Armin wrote:
> ImportError: No module named PIL
install PIL
--
regards
kg
http://www.livejournal.com/users/lawgon
tally ho! http://avsap.org.in
ಇಂಡ್ಲಿನಕ್ಸ வாழ்க!
On 9/25/05, Andreas <[EMAIL PROTECTED]> wrote:
> make sure you have the Python Imaging Library
> (http://www.pythonware.com/products/pil/) installed.
I've improved the model validator so that it displays an error if you
use an ImageField without having PIL installed.
"django-admin.py validate" i
You guys are fantastic. I am new to python and Django and unfamiliar
with some of the well known concepts here. So, I might bug you guys a
few more times for which I apologize. I am trying to develop a
dating/friends site based on Django.
Thanks for your support,
Armin
Have you got PIL installed?
http://www.pythonware.com/products/pil/
Armin,
make sure you have the Python Imaging Library
(http://www.pythonware.com/products/pil/) installed.
Andreas
Hey Everyone,
Somehow my imageField is not working. I have set the upload to and the
MEDIA_ROOT setting. I tried changing the imageField to fileField and it
worked just fine (uploaded the file and placed it in database). As soon
as I change it to imageField it dies on me. Something about PIL that
8 matches
Mail list logo