diff --git a/docs/ref/class-based-views/base.txt b/docs/ref/class-based-views/base.txt index 93cef1c49a..bc066cae21 100644 --- a/docs/ref/class-based-views/base.txt +++ b/docs/ref/class-based-views/base.txt @@ -178,6 +178,7 @@ RedirectView **Example views.py**:: + from django.core.urlresolvers import reverse from django.shortcuts import get_object_or_404 from django.views.generic.base import RedirectView