Fixed #20890 -- Added missing import in class-based view docs.
Thanks André Augusto.
This commit is contained in:
parent
6e70f47d02
commit
ab680725bf
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue