-
### Prerequisites
- [X] I am using [the latest version of Locust](https://github.com/locustio/locust/releases/)
- [X] I am reporting a bug, not asking a question
### Description
Hi
locust -f tests…
-
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…
-
`@dataclasses.dataclass` can be used from python3.7, it acts a bit like `@attr.s`, so adding support for it shouldn't be too complicated.
Also I realize that there are many modules that converts cl…
-
**Describe the bug**
Fields which have a resolve method in ModelSchema are no longer parsed in put requests.
**Versions:**
- Python version: 3.10
- Django version: 4.2.7
- Django-Ninja versi…
-
**Describe the bug**
When using a Schema for GET parameters (as documented [here](https://django-ninja.rest-framework.com/guides/input/query-params/#using-schema), django-ninja ignores the `extra=Ext…
-
Hello 👋🏽
In this [PR](https://github.com/astral-sh/ruff/pull/4390) RUF012 was extended to apply to non-dataclass classes.
This has the (maybe desirable, maybe not, but was surprising to me) ef…
-
Facing issue while serializing a model with GenericForeignKey
My model looks something like this:
```Python
class MyModel(models.Model):
obj_content_type = models.ForeignKey(
Conten…
-
**Crash Report**
Hello Mypy team,
I've encountered a peculiar issue when running mypy on my Django project. The issue seems to be related to the interaction between mypy, NamedTuple clas…
-
两种备选结构:
1. 以领域划分,基本类似于Django的以Django应用为单位的项目结构。这种结构更适合一个application。
示例:
- user
- schemas
- cruds
2. 以分层划分。ORM Pydantic CRUD router依次,类似Django package的组织方式。这种结构更适合一个package。
示例:
- schemas
- …
-
The django-ninja is awesome, but I found something that is not supported.
Django has validators that used in models and forms. It would be very helpful to support that feature in django-ninja.
Of …