Created
February 18, 2010 20:15
-
-
Save amcgregor/308011 to your computer and use it in GitHub Desktop.
Cleaned up Wiki example, step 2.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: utf8 | |
"""Web application root controller.""" | |
import web.core | |
import datetime | |
from megawiki import model as db | |
__all__ = ['RootController'] | |
class RootController(web.core.Controller): | |
def index(self): | |
raise web.core.http.HTTPSeeOther(location='/WikiHome') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment