Skip to content

Commit 97faddc

Browse files
committed
DOCS-605 Clarify flask tumblelog tutorial
1 parent 70c3fc4 commit 97faddc

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,8 @@ Add :file:`views.py` and create a *posts* blueprint_:
306306
posts.add_url_rule('/<slug>/', view_func=DetailView.as_view('detail'))
307307

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

311312
.. code-block:: python
312313

@@ -997,3 +998,9 @@ Now you have a fully fledged tumbleblog using Flask and MongoEngine!
997998

998999
.. image:: .static/flask-mongoengine-tumblelog.png
9991000
:align: center
1001+
1002+
Having issues?
1003+
--------------
1004+
The source code is available on Github: `source code`_
1005+
1006+
.. _source code: https://github.com/rozza/flask-tumblelog

0 commit comments

Comments
 (0)