Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No IntelliSense when import a new created django app. #7701

Open
linette-zyy opened this issue Aug 18, 2023 · 2 comments
Open

No IntelliSense when import a new created django app. #7701

linette-zyy opened this issue Aug 18, 2023 · 2 comments
Assignees

Comments

@linette-zyy
Copy link

Environment
image

Steps to Reproduce
1.Create Blank Django Web Project
2.Create virtual environment
3.Right-click BasicProject in SE, select Add > New item > Django 1.9 App, specify the app name "HelloDjango" in the Name field and select OK
4.In the HelloDjango folder, modify views.py to match the code below, which defines a view named "index"

from django.shortcuts import render 
from django.http import HttpResponse 

# Create your views here. 
def index(request): 
    return HttpResponse("Hello, Django!") 

5.In the BasicProject folder, modify urls.py like below:

from django.urls import include, re_path 
import HelloDjango.views 

urlpatterns = [ 
    re_path(r'^$', HelloDjango.views.index, name='index'), 
    re_path(r'^home$', HelloDjango.views.index, name='home'), 
] 

Expected behavior
I can get IntelliSense
image

Actual behavior
I can not get 'HelloDjango' IntelliSense
image

@bschnurr bschnurr self-assigned this Aug 18, 2023
@linette-zyy
Copy link
Author

On today's latest build: 17.8.0 Preview 3.0 [34126.232.main], Python Package: 17.0.23262.1
I can not get 'django' & 'HelloDjango' IntelliSense
django_HelloDjango

@ttSpace
Copy link

ttSpace commented Dec 2, 2024

In today's build 17.13.0 Preview 3.0 [35529.26.main], Python Package: 17.0.24336.1, I can't get the IntelliSense for 'from'.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants