Skip to content

Commit 894c867

Browse files
committed
Update README.md
1 parent 44f1828 commit 894c867

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ _to see this in a real world example take a look at my other projects_ [Flask-Cm
1919
- basemodels.py
2020
- with a sqlalchemy compatible BaseMixin class
2121
- provides many useful CRUD operations, IE: model.save(), model.delete()
22-
- BaseMixin generates __tablename__ automaticlly
23-
- BaseMixin adds an auto incrementing `id` field, as the primary_key to each model
24-
- BaseMixin.session is current model classes session
25-
- BaseMixin.engine is the current db engine
26-
- BaseMixin.query is the models sqlalchemy query from its session
27-
- BaseMixin.get_all() -> function to return all of a model
28-
- BaseMixin.get(*args,**kwargs) -> get single model by attr values, mainly for id=x
22+
- `BaseMixin` generates `__tablename__` automaticlly
23+
- `BaseMixin` adds an auto incrementing `id` field, as the primary_key to each model
24+
- `BaseMixin.session` is current model classes session
25+
- `BaseMixin.engine` is the current db engine
26+
- `BaseMixin.query` is the models sqlalchemy query from its session
27+
- `BaseMixin.get_all()` `->` function to return all of a model
28+
- `BaseMixin.get(*args,**kwargs)` `->` get single model by attr values, mainly for id=x
2929

3030
- baseviews.py
3131
- with a BaseView class that is subclassed from Flask.views.MethodView to allow easy definition of view responses to get and post requests.

0 commit comments

Comments
 (0)