[go: up one dir, main page]

Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

JetBrains Code Completion #73

Open
bloodwithmilk25 opened this issue Mar 18, 2023 · 0 comments
Open

JetBrains Code Completion #73

bloodwithmilk25 opened this issue Mar 18, 2023 · 0 comments

Comments

@bloodwithmilk25
Copy link
bloodwithmilk25 commented Mar 18, 2023

Is there a way to add support for JetBrains code completion?

class MyDjangoModel(models.Model):
    name = model.CharField(max_lenght=200)

class MyDjangoModelSchema(ModelSchema):
    class Config:
        model = MyDjangoModel

obj = MyDjangoModelSchema.from_orm(MyDjangoModel.objects.first())
obj.name #  PyCharm says "Unresolved attribute reference 'name' for class 'MyDjangoModelSchema' "
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant