forked from orbit-oss/flask
Fix typos and remove unused import.
This commit is contained in:
parent
9f6bc93e4d
commit
3c821a0fa4
6 changed files with 15 additions and 14 deletions
|
|
@ -74,10 +74,9 @@ And this is what `views.py` would look like::
|
|||
.. admonition:: Circular Imports
|
||||
|
||||
Every Python programmer hates them, and yet we just added some:
|
||||
circular imports (That's when two module depend on each one. In this
|
||||
circular imports (That's when two modules depend on each other. In this
|
||||
case `views.py` depends on `__init__.py`). Be advised that this is a
|
||||
bad idea in general but here it is actually fine. The reason for this
|
||||
is
|
||||
bad idea in general but here it is actually fine. The reason for this is
|
||||
that we are not actually using the views in `__init__.py` and just
|
||||
ensuring the module is imported and we are doing that at the bottom of
|
||||
the file.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue