Fixed two docstring/comment typos.
This commit is contained in:
parent
163b471e9e
commit
514ce1d35f
|
@ -707,7 +707,7 @@ class ModelAdmin(BaseModelAdmin):
|
||||||
Exposes almost the same API as messages.add_message(), but accepts the
|
Exposes almost the same API as messages.add_message(), but accepts the
|
||||||
positional arguments in a different order to maintain backwards
|
positional arguments in a different order to maintain backwards
|
||||||
compatibility. For convenience, it accepts the `level` argument as
|
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):
|
if not isinstance(level, int):
|
||||||
|
|
|
@ -16,7 +16,7 @@ from __future__ import unicode_literals
|
||||||
import sys
|
import sys
|
||||||
from os.path import abspath, dirname, join
|
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__))))
|
sys.path.insert(1, dirname(dirname(abspath(__file__))))
|
||||||
|
|
||||||
# If extensions (or modules to document with autodoc) are in another directory,
|
# If extensions (or modules to document with autodoc) are in another directory,
|
||||||
|
|
Loading…
Reference in New Issue