# PERMANENT PHOTO PATH CONFIGURATION
# ===================================
# This file defines the PERMANENT standardized photo paths for the BookBeach application.
# ALL scripts, views, templates, and configurations MUST use these constants.

# PERMANENT STANDARDIZED PATHS - DO NOT CHANGE!
PHOTO_URL_PREFIX = "/static/uploads/beaches/"     # URL path for web access
PHOTO_PHYSICAL_DIR = "static/uploads/beaches"     # Physical directory path from backend root

# Usage Examples:
# 1. For database storage: f"{PHOTO_URL_PREFIX}{filename}"
# 2. For file operations: os.path.join(backend_dir, PHOTO_PHYSICAL_DIR, filename)
# 3. For templates: {{ beach.photo_path }} (already includes the prefix)

# MIGRATION COMPLETED: 2024-12-22
# - All 1,080+ photos moved to standardized location
# - All 1,040 database records updated 
# - All application code updated to use these paths

# IMPORTANT: 
# Any new photo upload or collection scripts MUST import and use these constants!