mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-11-26 08:34:55 +00:00
Initial Commit
This commit is contained in:
16
zod_bank/base/image_constants.py
Normal file
16
zod_bank/base/image_constants.py
Normal file
@ -0,0 +1,16 @@
|
||||
"""
|
||||
This module contains constants used throughout the project
|
||||
"""
|
||||
from zod_bank.settings import BUCKET_NAME
|
||||
|
||||
# Define S3 folder url
|
||||
S3_FOLDER_DIR = {
|
||||
'user_image': 'user_image/',
|
||||
}
|
||||
|
||||
# S3 bucket url
|
||||
S3_URL = "https://"+BUCKET_NAME+".s3.amazonaws.com/"
|
||||
|
||||
S3_FOLDER_URL = {
|
||||
'user_image_file': S3_URL+S3_FOLDER_DIR['user_image'],
|
||||
}
|
||||
Reference in New Issue
Block a user