You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm adding 'ninja' to INSTALLED_APPS in settings in order to use Django-hosted static files rather than rely on the CDN. When doing so, I find an unpopulated select form element pop up for Swagger server configuration, like below:
Presumably the <div class="opblock-section operation-servers"> is being accidentally rendered in templates when it's static vs loaded from the CDN - just a wildly unfounded/uneducated guess as to what might be happening. Will see if I can dedicate some time to fixing this but opening up a big for the broader audience in case this is tracked in another issue (I was unable to find anything) or someone has an easy fix.
I'm adding
'ninja'
toINSTALLED_APPS
in settings in order to use Django-hosted static files rather than rely on the CDN. When doing so, I find an unpopulated select form element pop up for Swagger server configuration, like below:Presumably the
<div class="opblock-section operation-servers">
is being accidentally rendered in templates when it's static vs loaded from the CDN - just a wildly unfounded/uneducated guess as to what might be happening. Will see if I can dedicate some time to fixing this but opening up a big for the broader audience in case this is tracked in another issue (I was unable to find anything) or someone has an easy fix.Versions
Python 3.12.7
Django==5.1.4
django-ninja==1.3.0
pydantic==2.10.4
The text was updated successfully, but these errors were encountered: