Browse files

[1.5.x] Fixed #20890 -- Added missing import in class-based view docs.

Thanks André Augusto.

Backport of ab68072 from master
  • Loading branch information...
1 parent 12edced commit 9e2a2c491b47255dd81735e96186ac237bf9f06e @timgraham timgraham committed Aug 10, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 docs/topics/class-based-views/intro.txt
View
1 docs/topics/class-based-views/intro.txt
@@ -198,6 +198,7 @@ A similar class-based view might look like::
from django.http import HttpResponseRedirect
from django.shortcuts import render
+ from django.views.generic.base import View
from .forms import MyForm

0 comments on commit 9e2a2c4

Please sign in to comment.