VS Code version
VSCodium 1.126.04524
OS
Ubuntu 24.04 (Tuxedo OS)
Steps to reproduce
- Open Django 6 project with Django Ninja 1.6.2.
- Visit the Django ORM Lens. It renders the tree and the preview works correctly.
- Add a type hint to the first field of the first model in a file.
- Save the change. The field disappears from the tree.
- Open the graphical preview, the field is not there.
- Keep doing that to other fields, the entity ends up empty in the preview and the tree.
Sample models.py (minimized)
class RevokedToken(models.Model):
"""A revoked JWT, keyed by its ``jti`` claim (the token denylist)."""
jti: CharField[str] = models.CharField(max_length=32, unique=True)
...
VS Code version
VSCodium 1.126.04524
OS
Ubuntu 24.04 (Tuxedo OS)
Steps to reproduce
Sample models.py (minimized)