mirror of
https://github.com/django/django.git
synced 2025-10-26 15:16:09 +00:00
Fixed #21261 -- Added missing import in RedirectView docs
Thanks yokomizor.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user