ALLOWED_EXTENSIONS = {'png', 'jpg', 'jpeg', 'gif'} MAX_FILE_SIZE = 5 * 1024 * 1024 # 5 MB USE_EXTERNAL_SMTP = False SMTP_SERVER = 'smtp.example.com' SMTP_PORT = 587 SMTP_USE_TLS = True SMTP_SENDER_EMAIL = 'your_email@example.com' SMTP_SENDER_PASSWORD = 'your_email_password'