mirror of
https://github.com/django/django.git
synced 2025-10-27 23:56:08 +00:00
Fixed #21298 -- Fixed E301 pep8 warnings
This commit is contained in:
@@ -406,6 +406,7 @@ class Textarea(Widget):
|
||||
|
||||
class DateTimeBaseInput(TextInput):
|
||||
format_key = ''
|
||||
|
||||
def __init__(self, attrs=None, format=None):
|
||||
super(DateTimeBaseInput, self).__init__(attrs)
|
||||
self.format = format if format else None
|
||||
|
||||
Reference in New Issue
Block a user