Skip to content

Commit 6e2689f

Browse files
committed
Update README.rst
1 parent 90f3b5d commit 6e2689f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ It's very easy and fast to create an application out of the box, with detailed s
5959

6060
Define your models (models.py)
6161
..............................
62+
6263
::
64+
6365
class Group(db.Model):
6466
id = db.Column(db.Integer, primary_key = True)
6567
name = db.Column(db.String(264), unique = True, nullable=False)
@@ -75,7 +77,9 @@ Define your models (models.py)
7577

7678
Define your Views (views.py)
7779
............................
80+
7881
::
82+
7983
class GroupGeneralView(GeneralView):
8084
route_base = '/groups'
8185
datamodel = SQLAModel(Group)

0 commit comments

Comments
 (0)