8000 Add trailing slash (#8604) · encode/django-rest-framework@9043df6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9043df6

Browse files
authored
Add trailing slash (#8604)
1 parent df58435 commit 9043df6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tutorial/2-requests-and-responses.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Now update the `snippets/urls.py` file slightly, to append a set of `format_suff
112112

113113
urlpatterns = [
114114
path('snippets/', views.snippet_list),
115-
path('snippets/<int:pk>', views.snippet_detail),
115+
path('snippets/<int:pk>/', views.snippet_detail),
116116
]
117117

118118
urlpatterns = format_suffix_patterns(urlpatterns)

0 commit comments

Comments
 (0)
0