Ädu

Results 5 issues of Ädu

I am trying to store a new object in an SortableInlineAdminMixin: ``` from django.contrib import admin @admin.register(MyOtherModel) class MyOtherModelAdmin(admin.ModelAdmin, SortableAdminBase): inlines = [MyInline] class MyInline(SortableInlineAdminMixin, admin.TabularInline): model = MyModel extra...

Can related models be handled automatically? **Model** ``` class ExampleModel(models.Model): relation = models.ForeignKey(SomeOtherModel, on_delete=models.PROTECT, related_name='example') ``` **ModelSchema** ``` class ExampleSchema(ModelSchema): class Config: model = models.ExampleModel model_fields = ['id', 'relation'] ```...

**Is your feature request related to a problem? Please describe.** I am currently using the ModelSchema to define the inputs and outputs of the API. This works fine, but it...

**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 version:...