Commits

Waldemar Kornewald committed e4a1791

fixed shell access to datastore

Comments (0)

Files changed (1)

     try:
         from google.appengine.tools import dev_appserver
         from .boot import PROJECT_DIR
-        appconfig = dev_appserver.LoadAppConfig(PROJECT_DIR, {})[0]
+        appconfig = dev_appserver.LoadAppConfig(PROJECT_DIR, {},
+                                                default_partition='dev')[0]
         appid = appconfig.application
     except ImportError, e:
         raise Exception('Could not get appid. Is your app.yaml file missing? '