title: Django cannot find staticfiles
body: <p>When I try to run my localhost server I get the following error:</p>
  <p><code>FileNotFoundError: [Errno 2] No such file or directory: '/static/CSV/ExtractedTweets.csv'</code></p>
  <p>This error is due to the line the line</p>
  <p><code>with open(staticfiles_storage.url('/CSV/ExtractedTweets.csv'), 'r', newline='', encoding=&quot;utf8&quot;) as csvfile:</code></p>
  <p>This line of code can be found in a custom python module within my app folder. I have copies of /static/CSV/ExtractedTweets.csv in my project root folder, my app folder and in the folder enclosing my project root and app folders. I also have an additional copy of ExtractedTweets.csv within my app folder.</p>
  <p>settings.py</p>
  <pre><code>STATIC_URL = '/static/'
  STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
  STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
  </code></pre>
  <p>urls.py</p>
  <pre><code>from django.conf import settings
  
  urlpatterns = [
      ...
  ] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
  </code></pre>
  <p>I have placed the file in all possible locations yet django cannot seem to find it.
  Interestingly, my templates have no problem finding my static CSS files. If anyone has any idea how to resolve this error, please let me know.</p>