Posted by José Lopes.
This post shows how to create a model in Django with an attributes composed by other two, assuring its unicity.
Posted by José Lopes.
When you upload images on a Django project it is normal to expect to have them displayed when editing the concerned record in the administration page.
This post shows what to do to display the images in the administration change page.
Posted by José Lopes.
While using the Django administration I've got the following validation error on the models.ImageField, despite the files being images:
Upload a valid image. The file you uploaded was either not an image or a corrupted image
This post shows a way to work around this problem.