mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #25385 -- Allowed importing views.generic.View from views.View.
This commit is contained in:
parent
0bc5cd6280
commit
3d6474e1a5
7 changed files with 19 additions and 10 deletions
|
@ -125,7 +125,7 @@ Imports
|
|||
|
||||
* Use convenience imports whenever available. For example, do this::
|
||||
|
||||
from django.views.generic import View
|
||||
from django.views import View
|
||||
|
||||
instead of::
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue