Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Commit

Permalink
inconsistency in doc (event.view.request.body is empty in GET requests)
Browse files Browse the repository at this point in the history
  • Loading branch information
jstoiko committed Sep 12, 2015
1 parent 792a69b commit fcfc1ba
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/source/crud_events.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ E.g. The following example connects the ``lowercase`` subscriber to the ``before
}
We will use the following subscriber to demonstrate how to connect subscribers to events. This subscriber logs request.body.
We will use the following subscriber to demonstrate how to connect subscribers to events. This subscriber logs ``request``.

.. code-block:: python
Expand All @@ -69,7 +69,7 @@ We will use the following subscriber to demonstrate how to connect subscribers t
@registry.add
def log_request(event):
log.debug(event.view.request.body)
log.debug(event.view.request)
Using before/after events
Expand Down
2 changes: 1 addition & 1 deletion requirements.dev
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pytest-cov
releases
sphinx

nefertari_guards
git+https://github.com/brandicted/nefertari.git@acls_in_db#egg=nefertari

-e .
-e ../nefertari-guards
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ commands = py.test {posargs:--cov ramses tests}

[testenv:flake8]
deps =
flake8==2.3.0
pep8==1.6.2
flake8
commands =
flake8 ramses

0 comments on commit fcfc1ba

Please sign in to comment.