Created
June 23, 2019 22:59
-
-
Save walison17/897d462c46a56a0c0bde07f8944fee76 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyDateInput(forms.DateInput): | |
input_type = 'date' | |
def __init__(self, **kwargs): | |
super().__init__(format='%Y-%m-%d') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment