Advertisement
mickymiseck

Untitled

Dec 7th, 2011
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  1. from django.forms import FileInput
  2.  
  3. class CustomFileFieldWidget(FileInput):
  4.  
  5.     def __init__(self, attrs=None):
  6.         super(CustomFileFieldWidget, self).__init__(attrs)
  7.  
  8.     class Media:
  9.         js = ('js/jquery.multifile.js',)
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement