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? wh
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
I do not understand precisely how these two settings are used.
>From Django doc, we have:
MEDIA_ROOT - Absolute path to the directory that holds media for this
installation. Example: "/home/media/media.lawrence.com/" See also MEDIA_URL.
MEDIA_URL - URL that handles the media served from MEDIA_ROO
3 matches
Mail list logo