Skip to content

Commit

Permalink
refactor(env): add fallback for bucketname
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijrajsharma committed Jan 7, 2025
1 parent e5285b6 commit 6eae3d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/aiproject/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@


# S3
BUCKET_NAME = env("BUCKET_NAME")
BUCKET_NAME = env("BUCKET_NAME", default="fair-dev")
PARENT_BUCKET_FOLDER = env(
"PARENT_BUCKET_FOLDER", default="dev"
) # use prod for production
Expand Down Expand Up @@ -233,7 +233,7 @@
"queue_limit": 50,
"timeout": 60 * 5, # number of seconds
"label": "Django Q",
"orm": "default",
"BUCKET_NAMEorm": "default",
}


Expand Down

0 comments on commit 6eae3d7

Please sign in to comment.