jozekuhar
Results
2
comments of
jozekuhar
As I understand `class Config` is Pydantic v1 way of defining config for a BaseModel. But to be more "Django way of doing things" Django Ninja provides option to use...
Curently I am doing it like this: ``` class CamelCase(Schema): model_config = ConfigDict(alias_generator=to_camel_case, populate_by_name=True) ``` ``` class ColorSchema(CamelCase, ModelSchema): class Meta: model = Color fields = "__all__" ``` But it...