mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #21298 -- Fixed E301 pep8 warnings
This commit is contained in:
parent
317040a73b
commit
c3aa2948c6
83 changed files with 180 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue