title: django_heroku.settings(locals()) not at the end for collectstatic
body: <p>I created an webapp with Django, heroku and S3.
  In production it seems that the upload of static files are only working when comment out django_heroku.settings(locals())</p>
  <pre><code>#django_heroku.settings(locals())
  
  STATIC_URL = 'https://%s/%s/' % (AWS_S3_CUSTOM_DOMAIN, AWS_LOCATION)
  STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
  </code></pre>
  <p>Then in the HTML, the urls to the static files do either get an encryption in the name like &quot;main.css&quot; becomes &quot;main-5354332324.css&quot;, and cant get access, or I add</p>
  <pre><code>AWS_DEFAULT_ACL = &quot;public-read&quot;
  AWS_QUERYSTRING_AUTH = False
  </code></pre>
  <p>and the names of the static file stay but still can't be accessed.</p>
  <p>So far I understand that django_heroku.settings(locals()) would overwrite locations with a default value. I was wondering what exactly happens here and what is an appropriates solution for production, as django_heroku.settings(locals()) should be actually at the end and it should be AWS_DEFAULT_ACL=None as far as I know.</p>