Skip to content

Commit

Permalink
Fixed imports in the first example in tutorial (#684)
Browse files Browse the repository at this point in the history
fixes #683
  • Loading branch information
Breath123 authored and jieter committed Sep 9, 2019
1 parent 82411ec commit 84504c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/pages/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ Add the view to your ``urls.py``::
from django.urls import path
from django.contrib import admin

from tutorial.views import people
from tutorial.views import PersonListView

urlpatterns = [
path("admin/", admin.site.urls),
path("people/", people)
path("people/", PersonListView.as_view())
]

Finally, create the template::
Expand Down

0 comments on commit 84504c6

Please sign in to comment.