-
-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to load API definition - /api/docs #66
Comments
The above problem is fixed, please update your package to support the latest django-ninja. |
Awesome stuff |
Everything works alright. |
Hello @eadwinCode , |
@jankrnavek can you be more specific to what you mean by |
Poetry update output:
Errors in log after restarting Gunicorn:
|
I will look into this... Can you also share your settings for |
And my controller looks like:
|
@jankrnavek Whats your pydantic version? |
C:\git\mabb> poetry show pydantic
|
@jankrnavek I have tried to reproduce this error but its seems like its something specific to your project. Also I am a bit confused as to why a template VariableDoesNotExist exception is related to ninja_jwt settings. |
Can you check in your project to see if your are using |
I am not aware of using explicitly USER_SETTINGS anywhere in my code.
|
No thats not the problem. |
On /api/docs endpoint i get this html error.
Python version: 3.11.3
Django version: 4.2.2
Django-Ninja version: 0.22.1
Django-Ninja-Extra 0.18.9
With previous version everthing works fine.
(Django-Ninja version: 0.21.x, Django-Ninja-Extra 0.18.8)
The text was updated successfully, but these errors were encountered: