from django import forms
class CalendarWidget(forms.TextInput):
    class Media:
        css = {'all':{'pretty.css'},}
        js = ('animations.js','action.js')
        
w = CalendarWidget()
print w.media