#36316: Auto importing Django decorator's doesn't work on VS Code
-------------------------------------+-------------------------------------
Reporter: Igor | Type: Bug
Status: new | Component:
| Uncategorized
Version: 5.2 | Severity: Normal
Keywords: django, decorators, | Triage Stage:
vs code, auto import | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
I have made views.py and above a POST function I have written
`@csrf_exempt`. When I press CTRL+., such decorator does not appear in
suggestions, so I have to manually enter the import statement, which is
`from django.views.decorators.csrf import csrf_exempt`.
--
Ticket URL: <
https://code.djangoproject.com/ticket/36316>
Django <
https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.