Skip to content

Commit

Permalink
Merge 2b288b5 into 655967e
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulWay committed Jul 23, 2018
2 parents 655967e + 2b288b5 commit e2416e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/source/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ API site

on the API side, you don't need to install this lib. But the serializers must follow these constraint :

- inherite the ``DynamicModelSerializer`` from ``dynamic-rest``
- inherit the ``DynamicModelSerializer`` from ``dynamic-rest``
- provide all related serializers using ``DynamicRelationField`` from ``dynamic-rest``
- provide all backward relation in both serializers.

Expand Down Expand Up @@ -130,7 +130,7 @@ with the folowing models
inheritance
===========

* inherite the ``DynamicModelSerializer`` from ``dynamic-rest``
* inherit the ``DynamicModelSerializer`` from ``dynamic-rest``

bad::

Expand Down
2 changes: 1 addition & 1 deletion docs/source/testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ overview
you can mock the api with some custom response for given url. it won't trigger any api query, but return the
predefined data from each request matching the patterns.

your test cases must inherite from either ``rest_models.test.RestModelTestMixin`` or
your test cases must inherit from either ``rest_models.test.RestModelTestMixin`` or
``rest_models.test.RestModelTestCase``

with this, you have 2 more functionnality.
Expand Down

0 comments on commit e2416e6

Please sign in to comment.