Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from django.forms import FileInput
- class CustomFileFieldWidget(FileInput):
- def __init__(self, attrs=None):
- super(CustomFileFieldWidget, self).__init__(attrs)
- class Media:
- js = ('js/jquery.multifile.js',)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement