Hello, help me please. I don't know what I need to do on server in
controller
def loadDocs():
documents = request.vars.data
for i in documents:
stream = open(i.file, 'rb')
db_app.doc_images.insert(person='{0} {1}
{2}'.format(session.abit_f,session.abit_i,session.abit_o),file=db.doc_images.file.store(stream,
i.file))
return images
Why is variable documents equal None?
Error: <type 'exceptions.TypeError'>('NoneType' object is not iterable)
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.