title: Using google app engine in development environment to query objects?
body: <p>The default app_engine development interactive console at <a href="http://localhost/_ah/admin" rel="nofollow">http://localhost/_ah/admin</a> is </p>
  
  <pre><code>from google.appengine.api import users
  
  # Say hello to the current user
  user = users.get_current_user()
  if user:
    nickname = user.nickname()
  else:
    nickname = "guest"
  print "Hello, " + nickname 
  </code></pre>
  
  <p>I have model which is like  </p>
  
  <pre><code>class Page(db.Model):
      page_views = db.IntegerProperty()
      language = db.StringProperty()
  </code></pre>
  
  <p>I can list entites and see values there, but how can I run queries in interactive console? 
  I tried</p>
  
  <pre><code>from models import Page
  
  pages = Page.all()  
  </code></pre>
  
  <p>But it fails, I am sure this is wrong, but what is right way of querying?</p>
  
  <p>Thank you </p>