mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #21298 -- Fixed E301 pep8 warnings
This commit is contained in:
@@ -1029,8 +1029,10 @@ class ValidationTests(unittest.TestCase):
|
||||
class AwesomeFilter(SimpleListFilter):
|
||||
def get_title(self):
|
||||
return 'awesomeness'
|
||||
|
||||
def get_choices(self, request):
|
||||
return (('bit', 'A bit awesome'), ('very', 'Very awesome'), )
|
||||
|
||||
def get_queryset(self, cl, qs):
|
||||
return qs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user