title: Heroku collectstatic not run during deployment
body: <p>I have a django app that I am successfully deplying to heroku. When I dry-run the collectstatic command locally everything works fine.</p>
  
  <pre><code>python manage.py collectstatic --dry-run --noinput
  ....
  Pretending to copy '/Users/hari/.virtualenvs/bsc2/lib/python2.7/site-packages/django/contrib/admin/static/admin/js/admin/ordering.js'
  Pretending to copy '/Users/hari/.virtualenvs/bsc2/lib/python2.7/site-packages/django/contrib/admin/static/admin/js/admin/RelatedObjectLookups.js'
  
  71 static files copied.
  </code></pre>
  
  <p>Despite this ..my django admin staticfiles do not get used and I get a bare-bones django admin site on heroku with Debug set to False.</p>
  
  <p>If I set Debug to True I get a "rich" admin site on heroku. With Debug set to True or False "git push heroku master " command terminal output does not have anything about collecting staticfiles.</p>
  
  <p>I tried the example "helloworld" application that uses gunicorn from Heroku and that did display the "collecting static" messages.I also tried inserting this code snippet into my urls.py. But that too does not help.</p>
  
  <p>from django.conf import settings</p>
  
  <pre><code>if not settings.DEBUG:
      urlpatterns += patterns('',
      (r'^static/(?P&lt;path&gt;.*)$', 'django.views.static.serve', {'document_root': settings.STATIC_ROOT}),
  </code></pre>
  
  <p>Next, I tried adding the following to my heroku config </p>
  
  <pre><code>heroku config:add DISABLE_COLLECTSTATIC=0
  </code></pre>
  
  <p>But that too did not show my django admin site with all the styles. </p>
  
  <p>Finally I tried switching to gunicorn with my Procfile and that also did not show the admin styles. Only setting Debug=True works to show my admin styles.</p>
  
  <p>I tried this with Django 1.4.2 and 1.5.1 on Heroku and neither is showing me a "normal" admin site. Is there any way out to have my admin files on heroku without going the S3 route.</p>