Skip to content

Commit 2f1a25f

Browse files
author
Sam Kleinman
committed
edits: DOCS-605
1 parent 97faddc commit 2f1a25f

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

source/tutorial/write-a-tumblelog-application-with-flask-mongoengine.txt

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ Add :file:`views.py` and create a *posts* blueprint_:
307307

308308
Now in :file:`__init__.py` register the blueprint, avoiding a circular
309309
dependency by registering the blueprints in a method. Add the following code
310-
inline (not in the main block):
310+
to the module:
311311

312312
.. code-block:: python
313313

@@ -318,8 +318,10 @@ inline (not in the main block):
318318

319319
register_blueprints(app)
320320

321-
.. _blueprint: http://flask.pocoo.org/docs/blueprints/
321+
Add this method and method call to the main body of the module and not
322+
in the main block.
322323

324+
.. _blueprint: http://flask.pocoo.org/docs/blueprints/
323325

324326
Add Templates
325327
~~~~~~~~~~~~~
@@ -999,8 +1001,8 @@ Now you have a fully fledged tumbleblog using Flask and MongoEngine!
9991001
.. image:: .static/flask-mongoengine-tumblelog.png
10001002
:align: center
10011003

1002-
Having issues?
1003-
--------------
1004-
The source code is available on Github: `source code`_
1004+
Additional Resources
1005+
--------------------
10051006

1006-
.. _source code: https://github.com/rozza/flask-tumblelog
1007+
The complete source code is available on Github:
1008+
<https://github.com/rozza/flask-tumblelog>

0 commit comments

Comments
 (0)