Fixed #21261 -- Added missing import in RedirectView docs

Thanks yokomizor.
This commit is contained in:
Aymeric Augustin 2013-10-13 19:00:55 +02:00
parent 2b8519760e
commit 2fb127b881
1 changed files with 1 additions and 0 deletions

View File

@ -178,6 +178,7 @@ RedirectView
**Example views.py**:: **Example views.py**::
from django.core.urlresolvers import reverse
from django.shortcuts import get_object_or_404 from django.shortcuts import get_object_or_404
from django.views.generic.base import RedirectView from django.views.generic.base import RedirectView