mirror of
https://github.com/django/django.git
synced 2025-04-22 00:04:43 +00:00
Fixed #21261 -- Added missing import in RedirectView docs
Thanks yokomizor.
This commit is contained in:
parent
2b8519760e
commit
2fb127b881
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user