From 92d750019b6531297278f32b869eed7ee8977e19 Mon Sep 17 00:00:00 2001 From: Matu-sunuwawa Date: Mon, 3 Feb 2025 09:42:48 -0500 Subject: [PATCH] Fix typo in 6-viewsets-and-routers documentation --- docs/tutorial/6-viewsets-and-routers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/6-viewsets-and-routers.md b/docs/tutorial/6-viewsets-and-routers.md index 6fa2111e7..ee91109f1 100644 --- a/docs/tutorial/6-viewsets-and-routers.md +++ b/docs/tutorial/6-viewsets-and-routers.md @@ -108,7 +108,7 @@ Now that we've bound our resources into concrete views, we can register the view Because we're using `ViewSet` classes rather than `View` classes, we actually don't need to design the URL conf ourselves. The conventions for wiring up resources into views and urls can be handled automatically, using a `Router` class. All we need to do is register the appropriate view sets with a router, and let it do the rest. -Here's our re-wired `snippets/urls.py` file. +Here's our re-wired `tutorial/urls.py` file. from django.urls import path, include from rest_framework.routers import DefaultRouter