#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.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/01070196209fc739-03b1d522-d93f-466c-aed6-e4c3124dc58f-000000%40eu-central-1.amazonses.com.

Reply via email to