Commit 486f4c80 by Chad Barrington

Update filters.py

Here's a little cleanup for ya, brah!
parent 7bc63fbb
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment