New style for the documentation. Looks more like the website now.
This commit is contained in:
parent
42dd94b756
commit
bcf347fe8d
15 changed files with 601 additions and 569 deletions
|
|
@ -86,10 +86,11 @@ And this is what `views.py` would look like::
|
|||
|
||||
.. admonition:: Circular Imports
|
||||
|
||||
Every Python programmer hates it, and yet we just did that: circular
|
||||
imports (That's when two module depend on each one. 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
|
||||
Every Python programmer hates them, and yet we just added some:
|
||||
circular imports (That's when two module depend on each one. 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
|
||||
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