1. Waldemar Kornewald
  2. djangoappengine

Commits

Waldemar Kornewald  committed e4a1791

fixed shell access to datastore

  • Participants
  • Parent commits ccd5364
  • Branches default

Comments (0)

Files changed (1)

File utils.py

View file
  • Ignore whitespace
     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? '