Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-7892

Comment on: "mongodb-ecosystem/tutorial/write-a-tumblelog-application-with-flask-mongoengine.txt"

    XMLWordPrintableJSON

Details

    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

      Attachments

        Activity

          People

            Unassigned Unassigned
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 29 weeks ago