def POST(self): """TODO Import email validation lepl.rfc""" i = web.input(name='', username='', email='') u = User(i.name, i.username, i.email) u.insert() raise web.seeother('/adduser')
def GET(self): tasks = Task.getall() users = User.getall() projects = Project.getall() return render().index(tasks, users, projects, priorities=PRIORITIES, statuses=STATUSES)
def GET(self): users = User.getall() return render().adduser(users)