其实,我是需要受到强烈批评的,因为这个小应用只是自己用。也就没在呼多了这么一行。
都用了一年了,今天突然感觉就不爽,想把这行显示去掉~~~
最后一行调用的代码是
app=webapp.WSGIApplication([('/',MainPage),('/admin/write',Guestbook),('/nextpage',NextPage),('/show',ShowMe),('/admin',adminCheck)],debug=False)
admincheck代码是:
class adminCheck(webapp.RequestHandler):
def get(self):
print 'Content-Type:text/html'
print '<html>Enter The Verify Code Plz!'
print "<form action='admin' method='post'><input name='password' type='password'><br><input type='submit' value='Sumit'></form></html>"
都用了一年了,今天突然感觉就不爽,想把这行显示去掉~~~
最后一行调用的代码是
app=webapp.WSGIApplication([('/',MainPage),('/admin/write',Guestbook),('/nextpage',NextPage),('/show',ShowMe),('/admin',adminCheck)],debug=False)
admincheck代码是:
class adminCheck(webapp.RequestHandler):
def get(self):
print 'Content-Type:text/html'
print '<html>Enter The Verify Code Plz!'
print "<form action='admin' method='post'><input name='password' type='password'><br><input type='submit' value='Sumit'></form></html>"