No IntelliSense when import a new created django app.
Open
@bschnurr is already working on this.
Since Aug 18, 2023.
needs repro
- Dominant language
- C#
- Stars
- 2.6k
- Forks
- 680
- Avg merge
- 39m
- Merged PRs (30d)
- 1
Description
Environment
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
Actual behavior
I can not get 'HelloDjango' IntelliSense
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.