aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework
diff options
context:
space:
mode:
authorChad Barrington2013-08-14 15:18:44 -0500
committerChad Barrington2013-08-14 15:18:44 -0500
commit486f4c8047b18cc753e1969079b58ca3da6ab43f (patch)
tree22db7dfb2ac058fab50fcc3812a5e330a470cf47 /rest_framework
parent7bc63fbb11525c37fa73e1ffa9a6409a48aab4ac (diff)
downloaddjango-rest-framework-486f4c8047b18cc753e1969079b58ca3da6ab43f.tar.bz2
Update filters.py
Here's a little cleanup for ya, brah!
Diffstat (limited to 'rest_framework')
-rw-r--r--rest_framework/filters.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/filters.py b/rest_framework/filters.py
index c058bc71..fbfdd099 100644
--- a/rest_framework/filters.py
+++ b/rest_framework/filters.py
@@ -134,7 +134,7 @@ class OrderingFilter(BaseFilterBackend):
ordering = self.remove_invalid_fields(queryset, ordering)
if not ordering:
- # Use 'ordering' attribtue by default
+ # Use 'ordering' attribute by default
ordering = self.get_default_ordering(view)
if ordering: