'''
URL handler functions.
'''
import asyncio
import logging;logging.basicConfig(level=logging.INFO)
from coroutine_web import get,post
from models import User,Blog,Comment
__author__='luibebetter'


@get('/')
async def index(request):
    logging.info('hello')
    users=await User.findwhere()
    return {
    '__template__':'test.html',
    'users':users
    }

57bbde84ead319e3ab1edcf9548f2934057d6172
<mask token>

<mask token>
logging.basicConfig(level=logging.INFO)
<mask token>


@get('/')
async def index(request):
    logging.info('hello')
    users = await User.findwhere()
    return {'__template__': 'test.html', 'users': users}

<mask token>
logging.basicConfig(level=logging.INFO)
<mask token>
__author__ = 'luibebetter'


@get('/')
async def index(request):
    logging.info('hello')
    users = await User.findwhere()
    return {'__template__': 'test.html', 'users': users}

<mask token>
import asyncio
import logging
logging.basicConfig(level=logging.INFO)
from coroutine_web import get, post
from models import User, Blog, Comment
__author__ = 'luibebetter'


@get('/')
async def index(request):
    logging.info('hello')
    users = await User.findwhere()
    return {'__template__': 'test.html', 'users': users}

'''
URL handler functions.
'''
import asyncio
import logging;logging.basicConfig(level=logging.INFO)
from coroutine_web import get,post
from models import User,Blog,Comment
__author__='luibebetter'


@get('/')
async def index(request):
    logging.info('hello')
    users=await User.findwhere()
    return {
    '__template__':'test.html',
    'users':users
    }
