Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a424543

Browse files
Change views_api to views
1 parent af4dcc9 commit a424543

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎units/django/11/rest-api.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ For this endpoint we'll add the following urn patten in our `urls.py` file:
126126
urlpatterns = [
127127
...
128128
url(r'^api/todos$', views.TodoListView.as_view(), name='api_todo_list'),
129-
url(r'^api/todos/(?P<pk>[0-9]+)$', views_api.TodoItemView.as_view(), name='api_todo_item')
129+
url(r'^api/todos/(?P<pk>[0-9]+)$', views.TodoItemView.as_view(), name='api_todo_item')
130130
]
131131
```
132132

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /