diff options
Diffstat (limited to 'django')
| -rw-r--r-- | django/contrib/gis/utils/ogrinspect.py | 2 | ||||
| -rw-r--r-- | django/core/files/storage.py | 2 | ||||
| -rw-r--r-- | django/db/migrations/loader.py | 2 | ||||
| -rw-r--r-- | django/db/migrations/questioner.py | 2 | ||||
| -rw-r--r-- | django/dispatch/dispatcher.py | 2 | ||||
| -rw-r--r-- | django/test/runner.py | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/django/contrib/gis/utils/ogrinspect.py b/django/contrib/gis/utils/ogrinspect.py index 9a091602fc..f04974f80d 100644 --- a/django/contrib/gis/utils/ogrinspect.py +++ b/django/contrib/gis/utils/ogrinspect.py @@ -60,7 +60,7 @@ def ogrinspect(*args, **kwargs): ...will print model definition to stout - or put this in a python script and use to redirect the output to a new + or put this in a Python script and use to redirect the output to a new model like: $ python generate_model.py > myapp/models.py diff --git a/django/core/files/storage.py b/django/core/files/storage.py index 30788d6d75..47642ff2f2 100644 --- a/django/core/files/storage.py +++ b/django/core/files/storage.py @@ -35,7 +35,7 @@ class Storage: def save(self, name, content, max_length=None): """ Save new content to the file specified by name. The content should be - a proper File object or any python file-like object, ready to be read + a proper File object or any Python file-like object, ready to be read from the beginning. """ # Get the proper name for the file, as it will actually be saved. diff --git a/django/db/migrations/loader.py b/django/db/migrations/loader.py index 518212b6d0..9d0b4a41b4 100644 --- a/django/db/migrations/loader.py +++ b/django/db/migrations/loader.py @@ -24,7 +24,7 @@ class MigrationLoader: but will probably follow the 1234_name.py convention. On initialization, this class will scan those directories, and open and - read the python files, looking for a class called Migration, which should + read the Python files, looking for a class called Migration, which should inherit from django.db.migrations.Migration. See django.db.migrations.migration for what that looks like. diff --git a/django/db/migrations/questioner.py b/django/db/migrations/questioner.py index d482de6388..7af35c8f60 100644 --- a/django/db/migrations/questioner.py +++ b/django/db/migrations/questioner.py @@ -28,7 +28,7 @@ class MigrationQuestioner: return True # Otherwise, we look to see if it has a migrations module # without any Python files in it, apart from __init__.py. - # Apps from the new app template will have these; the python + # Apps from the new app template will have these; the Python # file check will ensure we skip South ones. try: app_config = apps.get_app_config(app_label) diff --git a/django/dispatch/dispatcher.py b/django/dispatch/dispatcher.py index cefc00aad7..910024371b 100644 --- a/django/dispatch/dispatcher.py +++ b/django/dispatch/dispatcher.py @@ -182,7 +182,7 @@ class Signal: Arguments: sender - The sender of the signal. Can be any python object (normally one + The sender of the signal. Can be any Python object (normally one registered with a connect if you actually want something to occur). diff --git a/django/test/runner.py b/django/test/runner.py index 9bd9f2b506..c3201b2393 100644 --- a/django/test/runner.py +++ b/django/test/runner.py @@ -611,7 +611,7 @@ class DiscoverRunner: def is_discoverable(label): """ - Check if a test label points to a python package or file directory. + Check if a test label points to a Python package or file directory. Relative labels like "." and ".." are seen as directories. """ |
