From 2fb127b8813ad049938e398e757d9ecef0eaacde Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sun, 13 Oct 2013 19:00:55 +0200 Subject: [PATCH] Fixed #21261 -- Added missing import in RedirectView docs Thanks yokomizor. --- docs/ref/class-based-views/base.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/ref/class-based-views/base.txt b/docs/ref/class-based-views/base.txt index 93cef1c49a3..bc066cae214 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