PTVS icon indicating copy to clipboard operation
PTVS copied to clipboard

No IntelliSense when import a new created django app.

Open linette-zyy opened this issue 1 year ago • 1 comments

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

linette-zyy avatar Aug 18 '23 08:08 linette-zyy

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

linette-zyy avatar Sep 27 '23 07:09 linette-zyy