summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRamiro Morales <cramm0@gmail.com>2012-11-28 20:28:30 -0300
committerRamiro Morales <cramm0@gmail.com>2012-11-28 20:28:30 -0300
commit514ce1d35f8ed0f82484ddbc5039e6d927d646b7 (patch)
tree490db670e92dcf76b6f3d1a61936ce287e06fc75
parent163b471e9ea13e3d9984bde9aad2694646bb8997 (diff)
Fixed two docstring/comment typos.
-rw-r--r--django/contrib/admin/options.py2
-rw-r--r--docs/conf.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/django/contrib/admin/options.py b/django/contrib/admin/options.py
index c647835057..8543c0ad54 100644
--- a/django/contrib/admin/options.py
+++ b/django/contrib/admin/options.py
@@ -707,7 +707,7 @@ class ModelAdmin(BaseModelAdmin):
Exposes almost the same API as messages.add_message(), but accepts the
positional arguments in a different order to maintain backwards
compatibility. For convenience, it accepts the `level` argument as
- a string rather than the ususal level number.
+ a string rather than the usual level number.
"""
if not isinstance(level, int):
diff --git a/docs/conf.py b/docs/conf.py
index 0cfaab3033..f58e4ecb2e 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -16,7 +16,7 @@ from __future__ import unicode_literals
import sys
from os.path import abspath, dirname, join
-# Make sure we iget the version of this copy of Django
+# Make sure we get the version of this copy of Django
sys.path.insert(1, dirname(dirname(abspath(__file__))))
# If extensions (or modules to document with autodoc) are in another directory,