File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -43,9 +43,9 @@ So what did that code do?
43
43
the application's module or package. If you are using a single module (as
44
44
in this example), you should use `__name__ ` because depending on if it's
45
45
started as application or imported as module the name will be different
46
- (``'__main__' `` versus the actual import name). For more information, have
47
- a look at the :class: ` ~flask.Flask ` documentation. This is needed so that
48
- Flask knows where to look for templates, static files, and so on .
46
+ (``'__main__' `` versus the actual import name). This is needed so that
47
+ Flask knows where to look for templates, static files, and so on. For more
48
+ information, have a look at the :class: ` ~flask.Flask ` documentation .
49
49
3. We then use the :meth: `~flask.Flask.route ` decorator to tell Flask what URL
50
50
should trigger our function.
51
51
4. The function is given a name which is also used to generate URLs for that
You can’t perform that action at this time.
0 commit comments