andriyboychenko / books-online

playing with python - django, javascript, jquery, html, bootstrap
Apache License 2.0
0 stars 0 forks source link

Implement book management page #18

Open andriyboychenko opened 10 years ago

andriyboychenko commented 10 years ago

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

andriyboychenko commented 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/'