Set MEDIA_URL to '/media/' or something.
Then add static() to your urls.py if you haven't.
https://docs.djangoproject.com/en/dev/howto/static-files/#serving-files-uploaded-by-a-user-during-development
--
You received this message because you are subscribed to the Google Groups
"Django users" g
Hi,
No luck the image still points to the wrong location. There was a link
however when clicked it says this.
Page not found (404)
Request Method: GET Request URL: http://127.0.0.1:8000*/accounts/profile/*
1406912993_56_tumblr_m5xo9h5X3E1qgfdhto1_500.gif
I'm suspecting it's how my url confs ar
This looks wrong to me:
>
>
>
so maybe, rearranging your code a bit:
{% if form.avatar %}
{% endif %}
{{ form.avatar }}
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving e
Hi,
I have problems displaying my avatar image which I have uploaded from my
forms page. The browser source code seem to say that it cannot find the
correct path to my uploaded image file. Which file or files do I need to
fix?
Profilehttp://127.0.0.1:8000/accounts/profile/>" method="p
4 matches
Mail list logo