From bd68f701b1867e0a9cf17d7f0948ba493d11b7e5 Mon Sep 17 00:00:00 2001 From: Pablo Sanfilippo Date: Wed, 13 Mar 2013 14:16:27 -0300 Subject: [PATCH] Fixed an erroneous import in example code. --- docs/topics/class-based-views/intro.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"