Created
January 18, 2021 19:17
-
-
Save godfather68/dbd5c7a540ee8c33d3831b22ecd8e045 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
from django import forms | |
class UploadForm(forms.Form): | |
file = forms.FileField(widget=forms.FileInput(attrs={ | |
'id': 'file_id' | |
})) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment