aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/api.rst2
-rw-r--r--docs/installation.rst2
-rw-r--r--docs/upgrade.rst2
-rw-r--r--ihatemoney/tests/tests.py4
-rw-r--r--ihatemoney/web.py2
5 files changed, 6 insertions, 6 deletions
diff --git a/docs/api.rst b/docs/api.rst
index 144e616..9fc9cc6 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -51,7 +51,7 @@ A project needs the following arguments:
-d 'name=yay&id=yay&password=yay&contact_email=yay@notmyidea.org'
"yay"
-As you can see, the API retuns the identifier of the project
+As you can see, the API returns the identifier of the project
Getting information about the project
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
diff --git a/docs/installation.rst b/docs/installation.rst
index 9a5bd5a..0c3cfac 100644
--- a/docs/installation.rst
+++ b/docs/installation.rst
@@ -186,7 +186,7 @@ Production values are recommended values for use in production.
| | | **Production value:** `ihatemoney conf-example ihatemoney.cfg` sets it to something |
| | | random, which is good. |
+-------------------------------+---------------------------------+----------------------------------------------------------------------------------------+
-| MAIL_DEFAULT_SENDER | ``("Budget manager", | A python tuple describing the name and email adress to use when sending |
+| MAIL_DEFAULT_SENDER | ``("Budget manager", | A python tuple describing the name and email address to use when sending |
| | "budget@notmyidea.org")`` | emails. |
| | | |
| | | **Production value:** Any tuple you want. |
diff --git a/docs/upgrade.rst b/docs/upgrade.rst
index 9e48a98..702008b 100644
--- a/docs/upgrade.rst
+++ b/docs/upgrade.rst
@@ -39,7 +39,7 @@ instructions:
Switch from git installation to pip installation
++++++++++++++++++++++++++++++++++++++++++++++++
-The recomended installation method is now using *pip*. Git is now intended for
+The recommended installation method is now using *pip*. Git is now intended for
development only.
.. warning:: Be extra careful to not remove your sqlite database nor your
diff --git a/ihatemoney/tests/tests.py b/ihatemoney/tests/tests.py
index f918746..123ea36 100644
--- a/ihatemoney/tests/tests.py
+++ b/ihatemoney/tests/tests.py
@@ -403,7 +403,7 @@ class BudgetTestCase(IhatemoneyTestCase):
c.get("/exit")
self.assertNotIn('raclette', session)
- # test that whith admin credentials, one can access every project
+ # test that with admin credentials, one can access every project
self.app.config['ADMIN_PASSWORD'] = generate_password_hash("pass")
with self.app.test_client() as c:
resp = c.post("/admin?goto=%2Fraclette", data={'admin_password': 'pass'})
@@ -1192,7 +1192,7 @@ class APITestCase(IhatemoneyTestCase):
self.assertDictEqual(expected, json.loads(req.data.decode('utf-8')))
- # the list of bills should lenght 1
+ # the list of bills should length 1
req = self.client.get("/api/projects/raclette/bills",
headers=self.get_auth("raclette"))
self.assertStatus(200, req)
diff --git a/ihatemoney/web.py b/ihatemoney/web.py
index 7e4c563..efd843c 100644
--- a/ihatemoney/web.py
+++ b/ihatemoney/web.py
@@ -359,7 +359,7 @@ def demo():
Authenticate the user for the demonstration project and redirect him to
the bills list for this project.
- Create a demo project if it doesnt exists yet (or has been deleted)
+ Create a demo project if it doesn't exists yet (or has been deleted)
If the demo project is deactivated, one is redirected to the create project form
"""
is_demo_project_activated = current_app.config['ACTIVATE_DEMO_PROJECT']