Commits

abernier  committed b010e29

url fix; css change

  • Participants
  • Parent commits a7b9051

Comments (0)

Files changed (3)

 api_version: 1
 runtime: python
 
+builtins:
+- datastore_admin: on
+
 handlers:
 - url: /static
   static_dir: static

File handlers/admin.py

             
         # after editing blog post 
         # redirect to that post 
-        self.redirect('/post/%d/blog_uri' % blog_post.key().id())
+        self.redirect('/post/%d/%s' % (blog_post.key().id(), blog_post.uri))

File static/css/style.css

 address     { margin: 0 0 1.5em; font-style: italic; }
 del         { color:#666; }
 
-pre         { margin: 0.5em 0; white-space: pre; } /* margin: 1.5em 0; */
+pre         { margin: 0.5em 0 1em 0; white-space: pre; }
 pre,code,tt { font-size: 90%;
               font-family: 'andale mono', 'lucida console', monospace; 
               line-height: 1.5;