Hi, There is something i don't get in django template system. I have a FileField in my model called myfile. If i pass an instance of my model to a template, i can access file.size (this is an example). Form where this variable 'size' come from?? it's not part of the FileField class as far as i know. A small test:
def save(self):
super(UploadItem, self).save()
import logging; logging.debug(file.size)
this snippet generates this error: type object 'file' has no att
is django so magic?