From 91019ceccd360f2dbe950f2cb8fd2c35df791981 Mon Sep 17 00:00:00 2001 From: taiyeoguns Date: Fri, 2 Oct 2020 20:46:13 +0100 Subject: [PATCH] Correct field in recipe docs (#110) * Correct field in recipe docs * Add changelog --- CHANGELOG.md | 1 + docs/source/recipes.rst | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1178b6ee..ca702b43 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - [dev] pre-commit to use local packages (so versions will match) - [dev] consistent use of pydocstyle - [dev] Updates to MANIFEST.in +- [dev] Correct field in recipe docs ### Removed diff --git a/docs/source/recipes.rst b/docs/source/recipes.rst index 434ce764..7e18fa55 100644 --- a/docs/source/recipes.rst +++ b/docs/source/recipes.rst @@ -117,7 +117,7 @@ You can define ``foreign_key`` relations: ) history = Recipe(PurchaseHistory, - customer=foreign_key(customer) + owner=foreign_key(customer) ) Notice that ``customer`` is a *recipe*.