Skip to content

Commit 42edb10

Browse files
committed
Enable Book Model (previously commented)
1 parent db5aeb8 commit 42edb10

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

apps/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,5 @@ class DebugConfig(Config):
5858
}
5959

6060
API_GENERATOR = {
61-
# "books": "Book",
61+
"books": "Book",
6262
}

apps/models.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
Add your models below
1010
'''
1111

12-
'''
1312
# Book Sample
1413
class Book(db.Model):
1514
id = db.Column(db.Integer, primary_key=True)
1615
title = db.Column(db.String(64))
17-
'''

0 commit comments

Comments
 (0)