fix doc
This commit is contained in:
parent
0b64fe6746
commit
19b304b0fc
|
@ -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')
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue
Block a user