diff --git a/docs/topics/class-based-views/intro.txt b/docs/topics/class-based-views/intro.txt index 11d1f84ffeb98..7764e417fc51f 100644 --- a/docs/topics/class-based-views/intro.txt +++ b/docs/topics/class-based-views/intro.txt @@ -71,7 +71,7 @@ something like:: In a class-based view, this would become:: from django.http import HttpResponse - from django.views.base import View + from django.views.generic.base import View class MyView(View): def get(self, request): @@ -113,7 +113,7 @@ and methods in the subclass. So that if your parent class had an attribute ``greeting`` like this:: from django.http import HttpResponse - from django.views.base import View + from django.views.generic.base import View class GreetingView(View): greeting = "Good Day"