Open brendenwest opened 4 months ago
Same behavior under Hypercorn
Still an issue under v 1.3.0
Hi @brendenwest
Could you show how you initiated your api
? api = Router() ? api = NinjaAPI ? can you show more reproducible code
I've added more complete info from my views.py
Maybe related to this issue? - https://github.com/vitalik/django-ninja/issues/1277
Describe the bug I'm running Django under ASGI and basic api routes are working fine. But when I follow the
django-ninja
documentation for an api route using a Schema response, I get this error:'QuerySet' object has no attribute 'status_code'
requirements.txt
Dockerfile
asgi.py
urls.py
views.py
Versions (please complete the following information):
Traceback
Other traceback