We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5898110 commit bf1d190Copy full SHA for bf1d190
ninja_extra/__init__.py
@@ -2,6 +2,8 @@
2
3
__version__ = "0.14.2"
4
5
+import django
6
+
7
from ninja_extra.controllers import (
8
ControllerBase,
9
api_controller,
@@ -17,7 +19,9 @@
17
19
from ninja_extra.main import NinjaExtraAPI
18
20
from ninja_extra.router import Router
21
-default_app_config = "ninja_extra.apps.NinjaExtraConfig"
22
+if django.VERSION < (3, 2): # pragma: no cover
23
+ default_app_config = "ninja_extra.apps.NinjaExtraConfig"
24
25
26
__all__ = [
27
"ControllerBase",
0 commit comments