Open andriyboychenko opened 10 years ago
In the settings.py file were introduced some constants, that could be modified during development. Those constants are uploaded images settings.
ALLOWED_IMAGE_UPLOAD = ['image/jpeg','image/jpg','image/png']
ALLOWED_IMAGE_SIZE = 5242880 #5Mb
ALLOWED_MAX_IMAGE_RESOLUTION = (700, 350)
IMAGE_THUMBNAIL = (75, 75)
ALLOWED_IMAGE_QUANT = 5
UPLOAD_FOLDER = '/home/andriy/Pictures/books-test/'
This page should be different from category-management and book-attribute-management. The book insertion and modification should be performed on separate page and not in modal-window
DONE