Skip to content

Commit 56e1836

Browse files
committed
Doc: Fix grammar and code errrors
1 parent 17d0e6e commit 56e1836

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

download_encrypted_pdf.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -187,12 +187,12 @@ class Config(object):
187187
Flask expects these configurations to be registered in the application's instance. We can do this by instantiating the `Config` class in the `__init__.py` file.
188188

189189

190-
`app/__init__.py`: Instantiate packages
190+
`app/__init__.py`: Add configurations
191191

192192
```python
193193

194194
# ...
195-
from Config import Config
195+
from config import Config
196196

197197

198198
app = Flask(__name__)
@@ -494,6 +494,10 @@ The document is finally closed using the `output()` method. This method takes tw
494494

495495
Now what we know how to utilize `fpdf` to create a PDF file, let us update our `download_users_data()` function.
496496

497+
`app/download_users_pdf.py`: Create PDF file
498+
499+
500+
497501
```python
498502
from fpdf import FPDF
499503
from app.models import User

0 commit comments

Comments
 (0)