Skip to content

Commit

Permalink
Fix typos in config.md code examples (encode#1065)
Browse files Browse the repository at this point in the history
* Fix typos in config.md code examples

* Update docs/config.md

* Update docs/config.md

Co-authored-by: Marcelo Trylesinski <[email protected]>
  • Loading branch information
eprikazc and Kludex authored Sep 18, 2021
1 parent 04242e3 commit 8360c09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ organisations = sqlalchemy.Table(
```python
from starlette.applications import Starlette
from starlette.middleware import Middleware
from starlette.middleware.session import SessionMiddleware
from starlette.middleware.sessions import SessionMiddleware
from starlette.routing import Route
from myproject import settings

Expand Down Expand Up @@ -192,7 +192,7 @@ and drop it once the tests complete. We'd also like to ensure
from starlette.config import environ
from starlette.testclient import TestClient
from sqlalchemy import create_engine
from sqlalchemy_utils import database_exists, create_database
from sqlalchemy_utils import create_database, database_exists, drop_database

# This line would raise an error if we use it after 'settings' has been imported.
environ['TESTING'] = 'TRUE'
Expand Down

0 comments on commit 8360c09

Please sign in to comment.