This commit is contained in:
Jotagê Sales 2018-12-26 18:31:43 -02:00
parent 0b64fe6746
commit 19b304b0fc

View File

@ -56,8 +56,6 @@ app.config.from_object(myapp.default_settings)
or also by path to config: or also by path to config:
``` ```
import myapp.default_settings
app = Sanic('myapp') app = Sanic('myapp')
app.config.from_object('config.path.config.Class') app.config.from_object('config.path.config.Class')
``` ```