From ec9dc1e2a013d7e81fafec0b05c0f1c589e9f73e Mon Sep 17 00:00:00 2001 From: Alan Crosswell Date: Tue, 30 Jul 2024 12:14:48 -0400 Subject: [PATCH] Correct the documentation of how to import extension snippets The method documented here (adding to PROJECT/schema.py and PROJECT/__init__.py) is too early, before the app is ready. Instead copied the instructions at https://drf-spectacular.readthedocs.io/en/latest/customization.html#step-5-extensions which loads the extensions in the ready() method --- docs/blueprints.rst | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/docs/blueprints.rst b/docs/blueprints.rst index ab910217..32185a82 100644 --- a/docs/blueprints.rst +++ b/docs/blueprints.rst @@ -14,10 +14,20 @@ Blueprint files can be found `here