Using the model to build the database, I specified one of the fields:
photo=models.ImageField(upload_to="images/", blank=True, null=True)
but when adding a record, it is impossible to add a file or an image
is there any solution to this problem or should I deal with the code myself and rewrite some points?
Using the model to build the database, I specified one of the fields: photo=models.ImageField(upload_to="images/", blank=True, null=True) but when adding a record, it is impossible to add a file or an image is there any solution to this problem or should I deal with the code myself and rewrite some points?