http://code.google.com/appengine/docs/python/datastore/typesandpropertyclasses.html#Blob
Is not working inside the template.TemplateSyntaxError: Could not parse some characters: file.content.getSize|()||escape
Jader Dias
2010-01-03 23:15:15
Don't put () brackets to call the function from the template (`blob.getSize`). http://stackoverflow.com/questions/2039422/django-template-call-function/2039459#2039459
bobobobo
2010-01-17 23:14:51
+2
A:
{{ theblob|length }}
if you're using a Django template (as you seem to indicate in a comment, although you give absolutely no indication of this in your question -- I suggest editing the question to add that crucial bit of info!-).
Alex Martelli
2010-01-04 00:04:08
Yes, the `length` filter in Django templates does perform the equivalent of what `len` would do in Python code.
Alex Martelli
2010-01-18 00:49:07