Thank you very much!
it worked!
Both solutions combined.
I'm still trying to understand what happened but thank you!! :)
2015-02-19 16:18 GMT+00:00 Tom Lockhart :
> On Feb 19, 2015, at 8:03 AM, Valéria Pacheco
> wrote:
>
> Hello! I'm a newbie in Django and Python, I'm trying to use the ImageFiel
On Feb 19, 2015, at 8:03 AM, Valéria Pacheco wrote:
> Hello! I'm a newbie in Django and Python, I'm trying to use the ImageField
> property.
> The problem is represented in the attachment images.
> The uploading of the image works fine, but when trying to access it, the link
> seems to be broke
Hello Valéria,
That's Django's default, it doesn't handle media files by itself, if you
are in development you can add this line to urls.py
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
Don't forget you need to import static and settings:
from django.conf import s
Hi Valéria,
Try verify if that support for statics files is correctly configured.
Check this: https://docs.djangoproject.com/en/1.7/howto/static-files/
Before read the documentation, check which version of your django is
installed.
Cheers.
On Thu, Feb 19, 2015 at 2:03 PM, Valéria Pacheco wrot
4 matches
Mail list logo