Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

-----------------------------------------------
	为 Flask 扩展一个类似 Spring-MVC 的 Controller 小框架


	你可以使用

	@view("/index" ,"index.html" , method = ["GET","POST"])
	def index():
		return {"username":"xm" , "age" : 27}


	replace 

	@app.route("/index" , method = ["GET","POST"])
	def index():
		return render_template("index.html" , **{"username":"xm" , "age" : 27})

About

为了更加简洁的代码, 为 Python Flask 做扩展

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages