@@ -322,9 +322,10 @@ register the module's view function in Flirror. Using this decorator will
322322register a new route ` /awesome_module/ ` on the underlying Flask application.
323323Flirror-web will then request this route while providing the ` module_id ` as GET
324324parameter. The helper function ` basic_get() ` will evaluate this GET parameter,
325- look up the data which is stored in the database for this module_id and populate
326- the data to the template provided via the ` template_name ` parameter. Finally, it
327- returns the rendered template so that flirror-web can integrate it in its UI.
325+ look up the data which is stored in the database for this ` module_id ` and
326+ populate the data to the template provided via the ` template_name ` parameter.
327+ Finally, it returns the rendered template so that flirror-web can integrate it
328+ in its UI.
328329
329330To store the data in the database, we provide a crawler function decorated with
330331` @awesome_module.crawler() ` . This registers the function as crawler for this
@@ -344,9 +345,9 @@ Flirror.
344345
345346The ` templates/awesome_module/index.html ` file contains the view's HTML code in
346347form of a [ Jinja2] ( https://jinja.palletsprojects.com/en/2.11.x/ ) template. It
347- might look redundant that the module names is specified again in the path to the
348- template. That's necessary to avoid overriding templates of other modules. More
349- information on this can be found in the
348+ might look redundant that the module's name is specified again in the path to
349+ the template. That's necessary to avoid overriding templates of other modules.
350+ More information on this can be found in the
350351[ Templates] ( https://flask.palletsprojects.com/en/1.1.x/blueprints/#templates )
351352section of Flask's Blueprint documentation.
352353
0 commit comments