-
Notifications
You must be signed in to change notification settings - Fork 768
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
Go to definition goes to stub files instead of actual definitions #4550
Comments
@eshahbaz1, thanks for the issue. At runtime, Django is dynamically adding the If you feel that the stubs should represent this in a different way, please file an issue at https://github.com/sbdchd/django-types/issues |
Type: Bug
On the operator 'Go to Definition' for
get_or_create
it takes you to the declaration stub instead of the source code.Steps to reproduce:
User
table and virtual env and install dependenciesUser
model or any other modelUser.objects.get_or_create()
and click intoget_or_create
You will get navigated to the
pyi
file instead of the source code from the Django library.Extension version: v2023.6.30
VS Code Version: 1.79.2
Commit: 695af097c7bd098fbf017ce3ac85e09bbc5dda06
Date: 2023-06-14T08:58:33.551Z (1 wk ago)
Electron: 22.5.7
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Darwin arm64 22.5.0
The text was updated successfully, but these errors were encountered: