Browse Source

the import order note was meant to be bold, not cursive

pull/230/head
Ronny Pfannschmidt 14 years ago
parent
commit
74514fc837
  1. 2
      docs/patterns/packages.rst

2
docs/patterns/packages.rst

@ -57,7 +57,7 @@ following quick checklist:
2. all the view functions (the ones with a :meth:`~flask.Flask.route`
decorator on top) have to be imported when in the `__init__.py` file.
Not the object itself, but the module it is in. Import the view module
*after the application object is created*.
**after the application object is created**.
Here's an example `__init__.py`::

Loading…
Cancel
Save