Skip to content

Commit

Permalink
Fix wording per @riseriyo's suggestion
Browse files Browse the repository at this point in the history
Fixes gh-113.
  • Loading branch information
treyhunner committed Nov 8, 2014
1 parent 2562010 commit 4eda5af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorials/03-views.rst
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ Let's write a test our new blog entry pages:
response = self.client.get(self.entry.get_absolute_url())
self.assertEqual(response.status_code, 200)
This test fails because we didn't define the ``get_absolute_url`` method for our model (`Django Model Instance Documentation`_). We need to create a URL and a view for blog entry pages now. We'll need to create a ``blog/urls.py`` file and reference it in the ``myblog/urls.py`` file.
This test fails because we didn't define the ``get_absolute_url`` method for our ``Entry`` model (`Django Model Instance Documentation`_). We need to create a URL and a view for blog entry pages now. We'll need to create a ``blog/urls.py`` file and reference it in the ``myblog/urls.py`` file.

Our ``blog/urls.py`` file is the very short

Expand Down

0 comments on commit 4eda5af

Please sign in to comment.