Skip to content

Commit

Permalink
Fixes authlib#57. Add instruction to create __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
shimniok committed Sep 26, 2019
1 parent 8a6950f commit 780cbeb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ Here is our Flask website structure:
app.py --- FLASK_APP
website/
app.py --- Flask App Factory
__init__.py --- module initialization (empty)
models.py --- SQLAlchemy Models
oauth2.py --- OAuth 2.0 Provider Configuration
routes.py --- Routes views
Expand Down Expand Up @@ -119,6 +120,7 @@ app = create_app({
})
```

Create an empty ```__init__.py``` file in the ```website``` folder.

The "Hello World!" example should run properly:

Expand Down

0 comments on commit 780cbeb

Please sign in to comment.