def index(self): # Return a rendered template #return render('/ehlou.mako') # or, return a string response.content_type = 'text/html' #return 'Hello from the index() action!' c.name = "blablabla" return render('pierwszy.mako')
def dupa(self): return render('/ehlou.mako')
def create(self): c.login = request.POST['login'] c.email = request.POST['email'] c.password = request.POST['password'] c.password_confirmation = request.POST['password_confirmation'] return render('create.mako')
def register(self): return render('register.mako')