Skip to content
Myr

Fix typos.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Brandon Stafford · committed by Brandon Stafford · parent 5304a15 · Browse files · 1 file+4 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−4 removed

  • other:+4 added−4 removed

1 file+4 added−4 removed

modified:docs/blueprints.rst+4 added-4 removed
123 unmodified lines
124Blueprint Resource Folder125`````````````````````````126127Like for regular applications, blueprints are considered to be contained128in a folder. While multiple blueprints can origin from the same folder,128in a folder. While multiple blueprints can originate from the same folder,129it does not have to be the case and it's usually not recommended.130131The folder is infered from the second argument to :class:`Blueprint` which132is ususally `__name__`. This argument specifies what logical Python131The folder is inferred from the second argument to :class:`Blueprint` which132is usually `__name__`. This argument specifies what logical Python133module or package corresponds to the blueprint. If it points to an actual134Python package that package (which is a folder on the filesystem) is the135resource folder. If it's a module, the package the module is contained in136will be the resource folder. You can access the137:attr:`Blueprint.root_path` property to see what's the resource folder::137:attr:`Blueprint.root_path` property to see what the resource folder is::138139 >>> simple_page.root_path140 '/Users/username/TestProject/yourapplication'141
62 unmodified lines