Skip to content

Commit f1aeb42

Browse files
authored
docs(repository-tutorial/01-modeling-and-features): add lines with class name (#4461)
1 parent 9a8a3ca commit f1aeb42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/tutorials/repository-tutorial/01-modelling-and-features.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ simple, our first model will encompass only three fields: ``id``, ``name``, and
1818
.. literalinclude:: /examples/sqla/sqlalchemy_declarative_models.py
1919
:language: python
2020
:caption: ``app.py``
21-
:lines: 9, 11, 18-20
21+
:lines: 9, 11, 17-20
2222
:linenos:
2323

2424
The book entity is not considered a "strong" entity and therefore always requires an
@@ -31,7 +31,7 @@ key constraints when using the ``author_id`` field in each ``Book`` record.
3131
.. literalinclude:: /examples/sqla/sqlalchemy_declarative_models.py
3232
:language: python
3333
:caption: ``app.py``
34-
:lines: 9, 11, 18-22, 27-30
34+
:lines: 9, 11, 17-22, 27-30
3535
:linenos:
3636

3737
By using the audit model, we can automatically record the time a record was created and

0 commit comments

Comments
 (0)