Skip to content

Commit

Permalink
Merge pull request #3730 from leocosta-io/main
Browse files Browse the repository at this point in the history
Fix a small mistake in definingmodels.rst
  • Loading branch information
mmerickel committed Aug 10, 2023
2 parents c2f7853 + 7c175a6 commit f194175
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorials/wiki2/definingmodels.rst
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ command, as we did in the installation step of this tutorial.

Since we've changed our model, we need to make changes to our
``initialize_db.py`` script. In particular, we'll replace our import of
``MyModel`` with those of ``User`` and ``Page``. We'll also change the the script to create two ``User`` objects (``basic`` and ``editor``) as well
``MyModel`` with those of ``User`` and ``Page``. We'll also change the script to create two ``User`` objects (``basic`` and ``editor``) as well
as a ``Page``, rather than a ``MyModel``, and add them to our ``dbsession``.

Open ``tutorial/scripts/initialize_db.py`` and edit it to look like the
Expand Down

0 comments on commit f194175

Please sign in to comment.