diff --git a/base_jsonify/README.rst b/base_jsonify/README.rst index 654d627e6..55e0e61db 100644 --- a/base_jsonify/README.rst +++ b/base_jsonify/README.rst @@ -27,7 +27,7 @@ return a list of object even if there is only one element in input By default the key into the json is the name of the field extracted from the model. If you need to specify an alternate name to use as key, you -can definne your mapping as follow into the parser definition: +can define your mapping as follow into the parser definition: .. code-block:: python diff --git a/base_jsonify/models/models.py b/base_jsonify/models/models.py index bcee877dc..08ba30a4a 100644 --- a/base_jsonify/models/models.py +++ b/base_jsonify/models/models.py @@ -36,7 +36,7 @@ def jsonify(self, parser): By default the key into the json is the name of the field extracted from the model. If you need to specify an alternate name to use as key, you - can definne your mapping as follow into the parser definition: + can define your mapping as follow into the parser definition: parser = [ 'field_name:json_key'