Skip to content

Commit da502ca

Browse files
committed
Chore: Fix grammar in tutorial
1 parent c8cc46d commit da502ca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

download_encrypted_pdf.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ We will need to install it in our virtual environment. A virtual environment hel
7878
(venv)$ pip3 install flask-sqlalchemy
7979
```
8080

81-
Once the schema is developed, we will need to create a database by applying the necessary migrations. Since this is the first time we are creating our database, we will need to make only one migration. If we want to add more data to our database, we will need to update the schema and apply the new changes. `flask-migrate` is another useful package we can utilize to create database migrations.
81+
Once the schema is developed, we will need to create a database by applying the necessary migrations. Since this is the first time we are creating our database, only one migration will be made. If we want to add more fields to the schema, we will be required to update the schema and apply the new changes. `flask-migrate` is another useful package we can utilize to create database migrations.
8282

8383
```python
8484
(venv)$ pip3 install flask-migrate
@@ -134,7 +134,7 @@ class User(db.Model):
134134
email = db.Column(db.String(120), index=True)
135135

136136
def __repr__(self):
137-
return f'User {self.username}'
137+
return f'User {self.name}'
138138

139139

140140
```
@@ -492,7 +492,7 @@ The document is finally closed using the `output()` method. This method takes tw
492492

493493
### Creating a PDF file
494494

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

497497
```python
498498
from fpdf import FPDF

0 commit comments

Comments
 (0)