Details
-
Bug
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
typo errors
*Location*: https://docs.mongodb.com/ecosystem/tutorial/write-a-tumblelog-application-with-flask-mongoengine/
*User-Agent*: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.80 Safari/537.36
*Referrer*: https://www.google.com/
*Screen Resolution*: 1366 x 768
typo errors *Location*: https://docs.mongodb.com/ecosystem/tutorial/write-a-tumblelog-application-with-flask-mongoengine/ *User-Agent*: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.80 Safari/537.36 *Referrer*: https://www.google.com/ *Screen Resolution*: 1366 x 768
Description
In the
"""Define the Schema
The first step in writing a tumblelog in Flask is to define the “models” or in MongoDB’s terminology documents.
In this application, you will define posts and comments, so that each Post can contain a list of Comments. Edit the models.py file so that it resembles the following:
"""
models.py works only if we place Comment before the Post.
I followed every step but failed to see Comment form in the Post detail view templates/posts/detail.html
In the section """Updating the Administration"
Update the >>template/admin/base.html<< file to create a new post drop down menu in the toolbar: should be >> templateS/admin/base.html<<
Best Regards,
Cholpon Abdyzhaparova
abdyjaparova.ch@gmail.com