I created a ImageField img_field with height_field parameter in a
model,
added an image, then get it from database.

If I try to access obj.img_field.height and obj.img_field.width,
where do django get this data from?

Cached data when SELECTed from db?
Or get size with PIL then cache it?

Thanks.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to