MEDIA_URL is a prefix that you will put in front of the URL media files.
E.g. you set your webserver to load such files under the /media/ URL, like
www.example.com/media/my-video.webm. Using different storage backends, like
an Amazon S3 bucket, you may want to set this to the bucket's URL.

However, you can even outsource avatar handling to some provider, like
Gravatar (which is a totally different topic, though).
I'm doing a little app that consists of a web page were users submits their
jokes (https://github.com/RompePC/django-muro_humoristas/tree/feature). I
had finished the models (a little overview would help), but I have one
question.

I want to use an avatar field for the users: however, I don't understand
well for what is *MEDIA_URL* (also, I would want to know where you would
put your *MEDIA_ROOT*, in a folder of the app, or in a directory as one
that gives the example
https://docs.djangoproject.com/en/1.8/ref/settings/#std:setting-MEDIA_ROOT).

Thanks (and sorry if anyone doesn't understand spanish hehe).

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/fddd7d84-04d3-4e88-ab8c-a75fb5b4e673%40googlegroups.com
<https://groups.google.com/d/msgid/django-users/fddd7d84-04d3-4e88-ab8c-a75fb5b4e673%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CACczBU%2BB6OVG%3DUQ03Fh1BBx7Z2C2tgQiwOL%3D036wV_OYvh%2BtQg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to