Skip to content

Commit

Permalink
Merge pull request #526 from bfontaine/patch-1
Browse files Browse the repository at this point in the history
Typo fixed in querying.rst
  • Loading branch information
coleifer committed Feb 17, 2015
2 parents 09fe95e + a3008f0 commit 49e6609
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/peewee/querying.rst
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,7 @@ Foreign Keys

Foreign keys are created using a special field class :py:class:`ForeignKeyField`. Each foreign key also creates a back-reference on the related model using the specified *related_name*.

Traversing foriegn keys
Traversing foreign keys
-----------------------

Referring back to the :ref:`User and Tweet models <blog-models>`, note that there is a :py:class:`ForeignKeyField` from *Tweet* to *User*. The foreign key can be traversed, allowing you access to the associated user instance:
Expand Down

0 comments on commit 49e6609

Please sign in to comment.