sixu05202004 / flaskblog Goto Github PK
View Code? Open in Web Editor NEWperson blog powered by flask
person blog powered by flask
你好。
最近学flask,在看这份blog的代码,其中有一处看不太懂,class Post中有一个函数
def _url(self):
return url_for('post', name=self.post_name)
该url_for的'post'我在view.py中没有找到def post()这个视图函数
不知道是不是我url_for的用法没有掌握还怎么样的,特来请教
ImportError: No module named flask.ext.script
在manage.py中的createall函数中的for i in range(1, 7)应改为for i in range(1, 6), 否则会出现index out of range 错误。
初学者也可以看看博客源码怎么修改。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.