comparison gpp/gcalendar/forms.py @ 484:bbbc357ac5f3

For #233; first commit for adding social media sharing buttons to news stories.
author Brian Neal <bgneal@gmail.com>
date Tue, 18 Oct 2011 00:04:37 +0000
parents 9a4bffdf37c3
children
comparison
equal deleted inserted replaced
483:3ac558402014 484:bbbc357ac5f3
84 84
85 class Media: 85 class Media:
86 css = { 86 css = {
87 'all': (settings.GPP_THIRD_PARTY_CSS['markitup'] + 87 'all': (settings.GPP_THIRD_PARTY_CSS['markitup'] +
88 settings.GPP_THIRD_PARTY_CSS['jquery-ui'] + 88 settings.GPP_THIRD_PARTY_CSS['jquery-ui'] +
89 ('css/gcalendar.css', )) 89 ['css/gcalendar.css'])
90 } 90 }
91 js = (settings.GPP_THIRD_PARTY_JS['markitup'] + 91 js = (settings.GPP_THIRD_PARTY_JS['markitup'] +
92 settings.GPP_THIRD_PARTY_JS['jquery-ui'] + 92 settings.GPP_THIRD_PARTY_JS['jquery-ui'] +
93 ('js/timezone.js', 'js/gcalendar.js', )) 93 ['js/timezone.js', 'js/gcalendar.js'])
94 94
95 def __init__(self, *args, **kwargs): 95 def __init__(self, *args, **kwargs):
96 initial = kwargs.get('initial', {}) 96 initial = kwargs.get('initial', {})
97 instance = kwargs.get('instance', None) 97 instance = kwargs.get('instance', None)
98 98