-
I was testing out djantic with pydantic 2.4.2 and ran into an error caused by an import that was removed from pydantic.
```
File "/usr/local/lib/python3.11/site-packages/djantic/main.py", line 1…
-
So I spent a few days making djantic compatible with pydantic 2, since the author of this package seems to be busy with life (I hope they are doing well!)
You can find it on [github](https://github…
-
### First Check
- [X] I added a very descriptive title to this issue.
- [X] I used the GitHub search to find a similar issue and didn't find it.
- [X] I searched the SQLModel documentation, with …
-
Is MyPy type checking supported at all? Any model property I try to access on a Djantic model is detected as non-existent by mypy. Is this resolvable?
Maybe I can contribute the solution if someon…
zwx00 updated
2 years ago
-
I suggest to look into a pragmatic solution to re-implement our django-settings-file in a way so that we (ideally) get:
- type hinting
- available options
- clear default values
- docstrings
…
-
I am using Djantic in my project, and I would like to base a base class between `ModelSchema` and my individual model schemata, to implement a `to_orm` method directly on the `ModelSchema`, as in my c…
-
The approach in https://github.com/tiangolo/sqlmodel has me interested exploring a combined model for Django and Pydantic. I would consider doing a PR to that project, though it seems too specific to …
-
Currently the Postgres field types aren't supported (except JSONField). Maybe others.
-
If a field is marked `null=True`, the annotation is marked `Union[type, None]` (https://github.com/jonathan-s/djantic2/blob/main/djantic/fields.py#L169). This is the expected behavior, but that does n…
-
Thanks for this fork! I was bummed to see Djantic abandoned(ish), then thrilled to see your issue posted there about this fork.
I always "watch" the releases on a repo for a package I use - would y…