Jonathan, anotherdjangonewby,
Thanks. I tried both suggestions, but there in no change in behavior. No
matter what I do,
the development server only takes requests at 127.0.0.1:8000.
I am including my settings.py file below ( with altered secret_key):
"""
> Django settings
I am developing a django application that primarily uses web browsers to
upload scientific data that includes some image files. Currently, the
application works fine when Firefox or Chrome are used. Both images and
other data are correctly uploaded.
Occasionally users need to upload larger am
My Python code started working after I changed on line.
Changing:
files_dct = {filename:fobj}
to:
files_dct = {('photo',(filename, fobj,'image/jpg'))}
Now it works. My conjecture about the need for different HTTP-headers was
wrong. The working code has not changed the headers receive
3 matches
Mail list logo