Vitaliy Kucheryaviy
Vitaliy Kucheryaviy
DjangoNinja skips the middleware/urlsover layer... if you need it in your logic - just use default [Django Test Client](https://docs.djangoproject.com/en/4.0/topics/testing/tools/#the-test-client)
as quick glance I see that you have user as required (null=False) on Account ``` user = models.OneToOneField(settings.AUTH_USER_MODEL, on_delete=models.CASCADE) ``` but in schema it accepts None: ``` account: AccountSchema =...
yeah, I guess this is the best solution for now for OneToOneField case
@mom1 @SmileyChris Indeed... :( there a lot of stuff still due which feels like good place to put to get/post/etc methods... But I think it will not lead to a...
@mom1 yeah, I guess you can use `_ninja_contribute_to_operation` callback to change decorate `Operation.run` just keep in mind that run can be both sync and async and it should be checked...
@mom1 I think it will not work - basically to support async views you need to implement two wrappers (sync and async) you need to add there tests as well...
@c4ffein yes, I think this can be fixed... but you will have a chance that your json payload encoded as string will overcome the max_length - so you should then...
sure all PR are welcome especially on docs
@MathiasAG can you please share your: - django version - django-ninja version - code for models - code for view I tried to guess your models structure and getting no...
@MathiasAG do you have example where PATCH/PUT would not work ?