Re: do we need MEDIA_ROOT and MEDIA_URL anymore?
On Nov 17, 2:07 am, MiratCanBayrak <miratcanbay...@gmail.com> wrote:
> Hi,
>
> I understood that in new version of django we are using
> STATICFILES_ROOT and STATICFILES_URL instead OF MEDIA_ROOT and
> MEDIA_URL.
>
> But when i look at settings.py i see both of them. When do we use
> MEDIA? when do we use STATICFILES ?
>
> Note: pls dont give link to docs i already read them
Staticfiles are for serving js/css/img that come with apps; Media is
for accepting uploads of files (and possibly also serving them back
out.)
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home