File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ class ModernModel(Base, SerializerMixin):
7575```
7676
7777Both styles work identically with ** SerializerMixin** - use whichever style you prefer!
78- In order to change the default output you shuld pass tuple of fieldnames as an argument
78+ In order to change the default output you should pass tuple of fieldnames as an argument
7979
8080- If you want to exclude or add some extra fields (not from database)
8181 You should pass ` rules ` argument
@@ -433,7 +433,7 @@ import pytz
433433item.to_dict(timezone = pytz.timezone(' Europe/Moscow' ))
434434```
435435- But if you do not want to write this code in every function, you should define
436- timezone logic in your custom mixin (how to use customized mixin see [Castomization ](# Castomization ))
436+ timezone logic in your custom mixin (how to use customized mixin see [Custom formats ](# Custom-formats ))
437437 ```python
438438import pytz
439439from sqlalchemy_serializer import SerializerMixin
@@ -523,7 +523,7 @@ serialize_only = ('some_field') # <--- WRONG it is actually not a tuple
523523```
524524
525525# Tests
526- To run tests and see tests coverage report just type the following command:(doker and doker - compose should be installed on you local machine)
526+ To run tests and see tests coverage report just type the following command:(docker and docker - compose should be installed on you local machine)
527527```bash
528528make test
529529```
You can’t perform that action at this time.
0 commit comments