--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAA6wQLJ6kjsd80%2BcmFOZhPB5C_1Ugnu%3Ds51aisfNgK%3DambvJUg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAK4qSCfrBi-0XwcHQLJHWRcfbZHDuXR-ciBx6xB1TR_AR82h%3Dg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAA6wQLLtaj5p1WPCZ3ozZFMFHyqjg%2B1AoDLzXq8qY79JNwg%3DwQ%40mail.gmail.com.
MEDIA_ROOT
). You’ll most likely want to use the
convenience url
attribute
provided by Django. For example, if your ImageField
is called
mug_shot
, you can get the absolute path to your image in a template with
{{ object.mug_shot.url }}
.To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAK4qSCcJ-k%3D04nZjF0fY3vqwsbXp4gjMPW6cOZtZ5n%3DfXrYG6w%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAA6wQLLsf_VyRizj%2BsXYo7kJSgFD%2BnGrpctnkqic7JU%3DaKO35g%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAK4qSCf7NNW5OwfsA_an_v3WsnFE5vPfm-9qGyX55QiKNeLHmw%40mail.gmail.com.