aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework
diff options
context:
space:
mode:
authorCraig de Stigter2014-10-03 09:00:33 +1300
committerCraig de Stigter2014-10-03 09:00:33 +1300
commit857a8486b1534f89bd482de86d39ff717b6618eb (patch)
treea255416bf8adfef9e3ad9b4e04f01e083ecf0189 /rest_framework
parentdfab9af294972720f59890967cd9ae1a6c0796b6 (diff)
downloaddjango-rest-framework-857a8486b1534f89bd482de86d39ff717b6618eb.tar.bz2
More spelling tweaks
Diffstat (limited to 'rest_framework')
-rw-r--r--rest_framework/filters.py2
-rw-r--r--rest_framework/mixins.py2
-rw-r--r--rest_framework/relations.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/rest_framework/filters.py b/rest_framework/filters.py
index 4c485668..d188a2d1 100644
--- a/rest_framework/filters.py
+++ b/rest_framework/filters.py
@@ -148,7 +148,7 @@ class OrderingFilter(BaseFilterBackend):
if not getattr(field, 'write_only', False)
]
elif valid_fields == '__all__':
- # View explictly allows filtering on any model field
+ # View explicitly allows filtering on any model field
valid_fields = [field.name for field in queryset.model._meta.fields]
valid_fields += queryset.query.aggregates.keys()
diff --git a/rest_framework/mixins.py b/rest_framework/mixins.py
index 04b7a763..de334b4b 100644
--- a/rest_framework/mixins.py
+++ b/rest_framework/mixins.py
@@ -83,7 +83,7 @@ class DestroyModelMixin(object):
# The AllowPUTAsCreateMixin was previously the default behaviour
-# for PUT requests. This has now been removed and must be *explictly*
+# for PUT requests. This has now been removed and must be *explicitly*
# included if it is the behavior that you want.
# For more info see: ...
diff --git a/rest_framework/relations.py b/rest_framework/relations.py
index 8141de13..dc9781e7 100644
--- a/rest_framework/relations.py
+++ b/rest_framework/relations.py
@@ -102,7 +102,7 @@ class HyperlinkedRelatedField(RelatedField):
# We include these simply for dependency injection in tests.
# We can't add them as class attributes or they would expect an
- # implict `self` argument to be passed.
+ # implicit `self` argument to be passed.
self.reverse = reverse
self.resolve = resolve