File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,8 +16,7 @@ Blueprint files can be found `here <https://github.com/tfranzel/drf-spectacular/
1616 themselves automatically. Just be sure that the python interpreter sees them at least once.
1717 To that end, we suggest creating a ``PROJECT/schema.py `` file and importing it in your
1818 ``PROJECT/__init__.py `` (same directory as ``settings.py `` and ``urls.py ``)
19- with ``import PROJECT.schema ``. Please do not import the file in
20- ``settings.py `` as this may potentially lead to cyclic import issues. Now you are all set.
19+ with ``import PROJECT.schema ``. Now you are all set.
2120
2221
2322dj-stripe
Original file line number Diff line number Diff line change @@ -151,8 +151,7 @@ it would normally discover.
151151 interpreter sees them at least once.
152152 To that end, we suggest creating a ``PROJECT/schema.py `` file and importing it in your
153153 ``PROJECT/__init__.py `` (same directory as ``settings.py `` and ``urls.py ``)
154- with ``import PROJECT.schema ``. Please do not import the file in
155- ``settings.py `` as this may potentially lead to cyclic import issues. Now you are all set.
154+ with ``import PROJECT.schema ``.
156155
157156.. note :: Only the first Extension matching the criteria is used. By setting the ``priority`` attribute
158157 on your extension, you can influence the matching order (default ``0 ``).
Original file line number Diff line number Diff line change @@ -200,8 +200,7 @@ Where should I put my extensions? / my extensions are not detected
200200
201201The extensions register themselves automatically. Just be sure that the python interpreter sees them at least once.
202202To that end, we suggest creating a ``PROJECT/schema.py `` file and importing it in your ``PROJECT/__init__.py ``
203- (same directory as ``settings.py `` and ``urls.py ``) with ``import PROJECT.schema ``. Please do not import the file in
204- ``settings.py `` as this may potentially lead to cyclic import issues.
203+ (same directory as ``settings.py `` and ``urls.py ``) with ``import PROJECT.schema ``.
205204
206205
207206My ``@action `` is erroneously paginated or has filter parameters that I do not want
You can’t perform that action at this time.
0 commit comments