Skip to content

Commit

Permalink
Merge pull request #2 from gh0stfrk/develop
Browse files Browse the repository at this point in the history
fix: can't makedirs on render
  • Loading branch information
gh0stfrk authored Apr 23, 2024
2 parents c2507f4 + a6c961b commit 6ba6620
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions django_project/config/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,3 @@
SECRET_KEY = os.getenv("SECRET_KEY", "")

MEDIA_ROOT = os.path.join("/var/www/","djangoblogs.onrender.com/media/")

os.makedirs(MEDIA_ROOT, exist_ok=True)

0 comments on commit 6ba6620

Please sign in to comment.