diff options
| author | David Sanders <dsanders11@ucsbalum.com> | 2021-05-29 03:51:14 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-29 12:51:14 +0200 |
| commit | 5685b7cd73820f56a6763d96f1423a0bdfca7c05 (patch) | |
| tree | f0dd088c362d3685416638b7cc0194fc618dbf90 /django | |
| parent | b9df2b74b98b4d63933e8061d3cfc1f6f39eb747 (diff) | |
Fixed typos in comments and docs.
Diffstat (limited to 'django')
| -rw-r--r-- | django/db/migrations/autodetector.py | 2 | ||||
| -rw-r--r-- | django/utils/encoding.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/django/db/migrations/autodetector.py b/django/db/migrations/autodetector.py index 77cfc01ca9..2848adce7d 100644 --- a/django/db/migrations/autodetector.py +++ b/django/db/migrations/autodetector.py @@ -915,7 +915,7 @@ class MigrationAutodetector: def generate_altered_fields(self): """ Make AlterField operations, or possibly RemovedField/AddField if alter - isn's possible. + isn't possible. """ for app_label, model_name, field_name in sorted(self.old_field_keys & self.new_field_keys): # Did the field change? diff --git a/django/utils/encoding.py b/django/utils/encoding.py index 39d44aed0d..19eb150ad7 100644 --- a/django/utils/encoding.py +++ b/django/utils/encoding.py @@ -160,7 +160,7 @@ def uri_to_iri(uri): if uri is None: return uri uri = force_bytes(uri) - # Fast selective unqote: First, split on '%' and then starting with the + # Fast selective unquote: First, split on '%' and then starting with the # second block, decode the first 2 bytes if they represent a hex code to # decode. The rest of the block is the part after '%AB', not containing # any '%'. Add that to the output without further processing. |
