What I see is that when I load my page, it calls update_dimension_fields
for every image. The model is simple.
class Photo(models.Model):
width = models.PositiveIntegerField(blank=True, null=True, editable=False,
default="0")
height = models.PositiveIntegerField(blank=True, null=True, e
I needed to get to the width and height of an image. After discovering that
doing so on an ImageField loads the file, I added width_field and
height_field to my model.
I did a migration and starting using the new model.
However, it *always* seems to call update_dimension_fields every time the
I'm trying to create an iOS app that can post multipart forms to Django.
(JSON is trivial, wish it worked with file uploads. :-)
What is the proper format for the HTTP request when passing arrays of
values? (Strings is all I care about at the moment)
I think PHP has the follow style. What is th
3 matches
Mail list logo