diff options
| author | Michael Merickel <michael@merickel.org> | 2023-08-10 14:28:53 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-10 14:28:53 -0500 |
| commit | f1941759ee9dedf5f800fc4c9a0c9c51028e06f5 (patch) | |
| tree | 142c9deaa0b62079396670fffc7340a7a8f8eb2b | |
| parent | c2f7853bca61841ed9121202f1f8ddf38b37c54b (diff) | |
| parent | 7c175a662f547968e913f938fa82191cbfd0434d (diff) | |
| download | pyramid-f1941759ee9dedf5f800fc4c9a0c9c51028e06f5.tar.gz pyramid-f1941759ee9dedf5f800fc4c9a0c9c51028e06f5.tar.bz2 pyramid-f1941759ee9dedf5f800fc4c9a0c9c51028e06f5.zip | |
Merge pull request #3730 from leocosta-io/main
Fix a small mistake in definingmodels.rst
| -rw-r--r-- | docs/tutorials/wiki2/definingmodels.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorials/wiki2/definingmodels.rst b/docs/tutorials/wiki2/definingmodels.rst index db6a87433..e419fdf0a 100644 --- a/docs/tutorials/wiki2/definingmodels.rst +++ b/docs/tutorials/wiki2/definingmodels.rst @@ -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 |
