diff options
| author | Chad Barrington | 2013-08-14 15:18:44 -0500 |
|---|---|---|
| committer | Chad Barrington | 2013-08-14 15:18:44 -0500 |
| commit | 486f4c8047b18cc753e1969079b58ca3da6ab43f (patch) | |
| tree | 22db7dfb2ac058fab50fcc3812a5e330a470cf47 | |
| parent | 7bc63fbb11525c37fa73e1ffa9a6409a48aab4ac (diff) | |
| download | django-rest-framework-486f4c8047b18cc753e1969079b58ca3da6ab43f.tar.bz2 | |
Update filters.py
Here's a little cleanup for ya, brah!
| -rw-r--r-- | rest_framework/filters.py | 2 |
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: |
