Search code examples
google-app-engineblobstorewebapp2

blobstore_handlers in webapp2


I try to make app with webapp2 and blobstore api. I found blobstore tutorial for webapp not webapp2. I have an import error:

File "/home/i159/workspace/WEBOS-INT-TEST/web.py", line 4, in <module>
    from webapp2 import blobstore_handlers
ImportError: cannot import name blobstore_handlers

With code:

import webapp2                        

from webapp2 import blobstore_handlers

Where I can take blobstore_handlers and other blobstore api with webapp2?


Solution

  • webapp2 does not have any blobstore handlers. those still need to be imported from the 'old' webapp package.