title: A simple example of Django and CSS
body: <p>I'm new to Django, and am trying to set up a really simple Django app.</p>
  
  <p>Now, I'm up to chapter 5 in the Django online book : <a href="http://www.djangobook.com/en/2.0/chapter05/" rel="noreferrer">http://www.djangobook.com/en/2.0/chapter05/</a></p>
  
  <p>All I want to do now, before I start trying databases, is to add in some simple CS and J to the app as is.</p>
  
  <p>So the question is, how do I do this? I only have one app, and I only want a main.css in a css folder, and a main.js in a js folder.</p>
  
  <p>I checked out the <a href="https://docs.djangoproject.com/en/1.3/howto/static-files/#staticfiles-in-templates" rel="noreferrer">https://docs.djangoproject.com/en/1.3/howto/static-files/#staticfiles-in-templates</a> page, but after reading and reading, there didn't seem to be a whole lot to work with in terms of examples.</p>
  
  <p>How do I import the  stylesheets/css (is there a helper like CakePHP?), where do I put the CSS and JS files, and do I need to configure the static thingy?</p>
  
  <p>UPDATE: the link : <a href="https://stackoverflow.com/questions/4035964/render-css-in-django-n00b-question">Render CSS in Django</a> does not help much. Mainly in that it didn't work for me, but also I especially don't like the "if debug" part. What happens when I move to prod? Why would I have my media folder defined differently for prod and local dev anyway? Shouldn't it be relative, or even in the same spot?</p>