-
Dear **django-environ** developers,
since [pydantic-settings](https://docs.pydantic.dev/latest/concepts/pydantic_settings/#usage) made recently quite big advances and has a substantial overlap with…
-
### Initial Checks
- [X] I confirm that I'm using Pydantic V2
### Description
I'm using Pydantic with Django models (and FastAPI). I have a use case where I have a DJango model that has a couple of…
-
**Is your feature request related to a problem? Please describe.**
If you have a model which defines an `EmailField`, the generated OpenAPI specification is displayed as:
`email string
-
Hello. I really liked this book, it gives a fresh (for me) perspective at coding a web application, and it looks fantastic, very well written, not too difficult to understand. I finished the part 1 a …
-
As the title says I find a little redundant to recreate the `modelchema`
https://django-ninja.dev/guides/response/django-pydantic/ shouldn't the original django-ninja `modelschema `be used?
-
I want to write a CRUD style API. I retrieve the model data, and save the model data. I want to do that using the schema mapped from the Django Model.
When I try it, the schema serialises using th…
-
Hey, thanks for sharing this!
Most of the code seems to be pretty generic when it comes to framework. I started converting it to Litestar [here](https://github.com/ccrvlh/litestar-sso), however, th…
-
**Describe the bug**
`computed_field` is missing in openapi spec.
I have defined a schema to be used for responses like this:
```
class MySchema(Schema):
id: int
slug: str
@co…
-
**Describe the bug**
A clear and concise description of what the bug is.
#model.py
class Department(models.Model):
title = models.CharField(max_length=100)
class Employee(models.Mo…
-
Fields are still included when using repr=False. Look at the following example:
Expected behaviour is to have fields with repr=False to not serialize, or am I missing something? :)
```
from pyd…