Hi Django Developers!
I wanted to share Django Auto-Import - a VS Code extension that makes Django development smoother by automatically suggesting and importing symbols as you type. No more struggling to remember exact import paths!
It may be helpful for some developers, so I am sharing it here.
Features
Smart Auto-Imports
- Instantly imports
Model,HttpResponse,render,login_required, and other Django symbols as you type.
Fuzzy Matching
- Type
http→ GetHttpResponseorHttpRequestsuggestions.
Context-Aware
- Avoids bad suggestions in
Metaclasses,urls.py, or other Django-specific scopes.
Clean Code
- Merges multiple imports from the same module (e.g.,
from django.db import Model, Q).
Lightweight
- Activates only in
.pyfiles—no bloat or distractions.
Feedback Welcome!
Try it out and let me know what you think. Feature requests? Bugs? Post here or open a GitHub issue!
Happy coding!