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

Thanks André Augusto.

Backport of ab680725bf from master
This commit is contained in:
Tim Graham 2013-08-10 18:08:05 -04:00
parent 2cd1439c06
commit 43f12f368b
1 changed files with 1 additions and 0 deletions

View File

@ -198,6 +198,7 @@ A similar class-based view might look like::
from django.http import HttpResponseRedirect from django.http import HttpResponseRedirect
from django.shortcuts import render from django.shortcuts import render
from django.views.generic.base import View
from .forms import MyForm from .forms import MyForm