Skip to content

Fix some typos #219

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

Merged
merged 2 commits into from
Nov 24, 2012
Merged
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/dev/env.rst
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ It has:
- Virtual env support;
- Search by python documentation and run python code;
- More other things like auto pep8 error fixes;
- Very customizable an documented as well;
- Very customizable and documented as well;
- Have all required libraries in self;

And more stuff.
Expand Down
10 changes: 5 additions & 5 deletions docs/scenarios/web.rst
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ support for Python 2.7 applications.
Heroku allows you to run as many Python web applications as you like, 24/7 and
free of charge. Heroku is best described as a horizontal scaling platform. They
start to charge you once you "scale" you application to run on more than one
Dyno (abstacted servers) at a time.
Dyno (abstracted servers) at a time.

Heroku publishes `step-by-step instructions
<http://devcenter.heroku.com/articles/python>`_ on how to set up your first
Expand Down Expand Up @@ -212,18 +212,18 @@ Templating
Most WSGI applications are responding to HTTP requests to serve
content in HTML or other markup languages. Instead of generating directly
textual content from Python, the concept of separation of concerns
advise us to use templates. A template engine manage a suite of
advises us to use templates. A template engine manage a suite of
template files, with a system of hierarchy and inclusion to
avoid unnecessary repetition, and is in charge of rendering
(generating) the actual content, filling the static content
of the templates with the dynamic content generated by the
application.

As template files are
sometime written by designers or front-end developpers,
sometimes written by designers or front-end developers,
it can be difficult to handle increasing complexity.

Some general good pratices apply to the part of the
Some general good practices apply to the part of the
application passing dynamic content to the template engine,
and to the templates themselves.

Expand All @@ -233,7 +233,7 @@ and to the templates themselves.
it is easier to add some missing variable when needed than to remove
a likely unused variable later.

- Many template engine allow for complex statements
- Many template engines allow for complex statements
or assignments in the template itself, and many
allow some Python code to be evaluated in the
templates. This convenience can lead to uncontrolled
Expand Down