title: Heroku & Django: "OSError: No such file or directory: '/app/{myappname}/static'"
body: <p>I have a Django app on Heroku. I am having some problems with static files (they are loading in one Heroku <a href="https://devcenter.heroku.com/articles/multiple-environments" rel="noreferrer">environment</a> but not another), so I tried the debug command recommended <a href="https://devcenter.heroku.com/articles/django-assets#debugging" rel="noreferrer">here</a>.</p>
  
  <pre><code>$ heroku run python manage.py collectstatic --noinput
  Running `python manage.py collectstatic --noinput` attached to terminal... up, run.8771
  OSError: [Errno 2] No such file or directory: '/app/{myappname}/static'
  </code></pre>
  
  <p>Here is my settings.py, which is the same thing Heroku recommends:</p>
  
  <pre><code>import os
  import os.path
  
  BASE_DIR = os.path.dirname(os.path.abspath(__file__))
  STATIC_ROOT = 'staticfiles'
  STATIC_URL = '/static/'
  
  STATICFILES_DIRS = (
      os.path.join(BASE_DIR, 'static'),
  )
  </code></pre>
  
  <p>I get the error whether or not I actually have a directory "static" at the root level in my Git repo (tested it both ways).</p>
  
  <p>Any ideas?</p>