Hi there,
first, there's a difference between MEDIA files and STATIC files (since
1.3, I think). Media files are files uploaded by users, while static
files are usually persistent files on the server from the beginning,
eg. stylesheets, images, javascripts, robots.txt, etc.
It's good to keep these
Hi,
Better not use hard coded url path for static, use {{ STATIC_URL }} in your
link ;
eg :
On Mon, Jul 15, 2013 at 7:28 AM, Sébastien Billion <
sebastien.bill...@gmail.com> wrote:
> Hi,
>
> In your project folder, you can create a folder media zith a subfolder
> css, an other img, js, whate
Hi,
In your project folder, you can create a folder media zith a subfolder css,
an other img, js, whatever.
In your settings.py, you can use this line to get the absolute path
dynamically:
from os import path
PROJECT_ROOT = path.dirname(path.abspath(__file__))
After, you need to specify your MED
3 matches
Mail list logo