feat: add catalogue image management (#1)
- Add CatalogueImage model with FK to Product - Add image resize service (strict/non-strict modes with configurable dimensions) - Add CRUD API endpoints with admin-only write permissions - Add catalogue_images field to product listing/detail endpoints - Serve media files in development via static() - 28 TDD tests covering model, API, permissions, resize, and product listing
This commit is contained in:
@@ -15,3 +15,4 @@ python-decouple # Manage environment variables and settings
|
||||
|
||||
# Static files serving in production/staging
|
||||
whitenoise==6.6.0 # Serve static files efficiently with compression
|
||||
Pillow # Image processing for catalogue image resizing
|
||||
|
||||
Reference in New Issue
Block a user