Django 1.9 pushing our code to go live today but have static directory issue
<p>We are pushing our code up to go live today, and before we do I need to figure out where to put my static files. I have in the project directory a folder called static. Inside I have an admin and an image folder. When looking through the docs it looks like these should not be placed inside the actual project. But instead should be outside the project. These are the files that come with django when running the code <code>python manage.py collectstatic</code>. But for the css I have used on the site itself, it looks like I should have another folder called static, to place it all in. So my question is: Should I have a folder in my project directory called static where I house my css, and should I also have the <code>collectstatic</code> files folder, but held elsewhere? </p>

<p>I was told also to put my css inside a media directory. This doesnt sound correct, and I couldnt find anything in the django docs regarding static files about this. </p>

<p>Basically what you have to do, is to tell django STATICFILES_DIR settings where all your static folder live</p>

<pre><code>STATICFILES_DIRS = [
    os.path.join(BASE_DIR, 'static'),
    os.path.join(BASE_DIR, 'mycssfolder'),
    os.path.join(BASE_DIR, 'otherstaticfolder')

]
</code></pre>

<p>so when you run djangoadmin collecstatic command it looks into all those folder for static files.</p>

python django django-admin django-staticfiles