public
Description: Slightly higher than low-level interface to GAE.
Clone URL: git://github.com/dustin/gae-base.git
Search Repo:
gae-base / controllers.py
100644 16 lines (12 sloc) 0.373 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env python
"""
My app's controllers.
 
Copyright (c) 2008 Dustin Sallings <dustin@spy.net>
"""
import logging
 
import spy.controllers
 
class MainHandler(spy.controllers.BaseHandler,
                  spy.controllers.RequestLogMixin):
 
    def get(self):
        logging.info("Look, I'm in method %s", self.currentMethod)
        self.renderTemplate('index.html')