Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Fix a few typos #133

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/cookbook.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ do something like::
def is_authenticated(self):
return self.request.user.is_authenticated()

If you need a more fine graned authentication you could check your current endpoint and do something like that::
If you need a more fine grained authentication you could check your current endpoint and do something like that::

class MyResource(DjangoResource):
def is_authenticated(self):
Expand Down
2 changes: 1 addition & 1 deletion docs/extending.rst
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ in your browser & get a JSON schema view!
Customizing Data Output
=======================

There are four approaches to customizing your data ouput.
There are four approaches to customizing your data output.

#. The built-in ``Preparer/FieldsPreparer`` (simple)
#. The included ``SubPreparer/CollectionSubPreparer`` (slightly more complex)
Expand Down
2 changes: 1 addition & 1 deletion docs/releasenotes/v2.0.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Porting is simply 1.adding an import & 2. changing the assignment.::
Serialization
~~~~~~~~~~~~~

Serialization is even easier. If you performed no overridding, there's nothing
Serialization is even easier. If you performed no overriding, there's nothing
to update. You simply get the new ``JSONSerializer`` object automatically.

If you were overriding either ``raw_deserialize`` or ``raw_serialize``, you
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ORM/data source. If you can import a module to work with the data & can
represent it as JSON, Restless can work with it.

Restless is small & easy to keep in your head. Common usages involve
overridding just a few easily remembered method names. Total source code is
overriding just a few easily remembered method names. Total source code is
a under a thousand lines of code.

Restless supports Python 3 **first**, but has backward-compatibility to work
Expand Down
2 changes: 1 addition & 1 deletion restless/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ def update_list(self, *args, **kwargs):
"""
Updates the entire collection for a PUT on a list-style endpoint.

Uncommonly implemented due to the complexity & (varying) busines-logic
Uncommonly implemented due to the complexity & (varying) business-logic
involved.

**MUST BE OVERRIDDEN BY THE USER** - By default, this returns
Expand Down