title: Push rejected by Heroku for the static file collection reason
body: <p>When I'm trying to deploy a Django app to Heroku, encounter the identical problem as <a href="https://stackoverflow.com/questions/36665889/collectstatic-error-while-deploying-django-app-to-heroku">python - Collectstatic error while deploying Django app to Heroku - Stack Overflow</a><br>
  it starts to build, download and installs everything, but that's what I get when it comes to collecting static files:</p>
  
  <pre><code>$ git push heroku master
  Counting objects: 5375, done.
  Total 5375 (delta 1092), reused 0 (delta 0)
  remote: Compressing source files... done.
  remote: Building source:
  remote: 
  remote: -----&gt; Python app detected
  remote: -----&gt; Installing requirements with pip
  remote: 
  ...
  remote: 
  remote:  !     Error while running '$ python manage.py collectstatic --noinput'.
  remote:        See traceback above for details.
  remote: 
  remote:        You may need to update application code to resolve this error.
  remote:        Or, you can disable collectstatic for this application:
  remote: 
  remote:           $ heroku config:set DISABLE_COLLECTSTATIC=1
  remote: 
  remote:        https://devcenter.heroku.com/articles/django-assets
  remote:  !     Push rejected, failed to compile Python app.
  remote: 
  remote:  !     Push failed
  remote: Verifying deploy....
  remote: 
  remote: !   Push rejected to fierce-cove-94300.
  remote: 
  To https://git.heroku.com/fierce-cove-94300.git
   ! [remote rejected] master -&gt; master (pre-receive hook declined)
  error: failed to push some refs to 'https://git.heroku.com/fierce-cove-94300.git'
  </code></pre>
  
  <p>I tried all its answers, but not helps. 
  Additional I tried <a href="https://devcenter.heroku.com/articles/django-assets" rel="nofollow noreferrer">Django and Static Assets | Heroku Dev Center</a> to configure the setting and install <code>whitenoise</code> and commit changes.  </p>
  
  <p>The problem is not solved.</p>