diff --git a/docs/tutorial/2-requests-and-responses.md b/docs/tutorial/2-requests-and-responses.md index e55ffa709..7fb1b2f2e 100644 --- a/docs/tutorial/2-requests-and-responses.md +++ b/docs/tutorial/2-requests-and-responses.md @@ -106,7 +106,7 @@ and def snippet_detail(request, pk, format=None): -Now update the `urls.py` file slightly, to append a set of `format_suffix_patterns` in addition to the existing URLs. +Now update the `snippets/urls.py` file slightly, to append a set of `format_suffix_patterns` in addition to the existing URLs. from django.conf.urls import url from rest_framework.urlpatterns import format_suffix_patterns diff --git a/docs/tutorial/3-class-based-views.md b/docs/tutorial/3-class-based-views.md index 5a8cdd46a..5c3b97929 100644 --- a/docs/tutorial/3-class-based-views.md +++ b/docs/tutorial/3-class-based-views.md @@ -62,7 +62,7 @@ So far, so good. It looks pretty similar to the previous case, but we've got be That's looking good. Again, it's still pretty similar to the function based view right now. -We'll also need to refactor our `urls.py` slightly now that we're using class-based views. +We'll also need to refactor our `snippets/urls.py` slightly now that we're using class-based views. from django.conf.urls import url from rest_framework.urlpatterns import format_suffix_patterns