Having issues with static file storage when deploying a django 4.2 project

This page summarizes the projects mentioned and recommended in the original post on /r/django

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • python-getting-started

    Getting Started with Python on Heroku.

  • I did set that as the video tutorial from codemy.com that I was watching instructed to do so. But I was able to solve this issue I believe by following the settings.py file on this Github repo (which included moving the whitenoise middleware after the security middleware) and adding STATICFILES_DIRS = BASE_DIR / 'static' (along with deleting the old syntax that I had commented out) while following the steps (including manually running 'python manage.py collectstatic') on this Stack Overflow answer. Now time will tell if the static files will persist or if I will run into an issue when the Heroku dyno restarts.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts