Re: do we need MEDIA_ROOT and MEDIA_URL anymore?

2010-11-17 Thread Adam V.


On Nov 17, 2:07 am, MiratCanBayrak  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-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



do we need MEDIA_ROOT and MEDIA_URL anymore?

2010-11-17 Thread MiratCanBayrak
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

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.