Commit c6b5ed0
committed
Add ninja to INSTALLED_APPS
* explicitly add ninja
We used this for the API but it is also used by django-debug-toolbar
which loads it in a separate autoload thread. This causes a race
condition and as of Python 3.14 this can raise an error and stop the
app booting if the toolbar is enabled.
Adding the ninja app here also fixes a current issue where the docs
assets aren't being loaded from the CDN. This is outlined in the Ninja
docs https://django-ninja.dev/guides/api-docs/1 parent 70333c0 commit c6b5ed0
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
| |||
0 commit comments