diff gcalendar/forms.py @ 1017:21c592cac71c

ManifestStaticFilesStorage: stop using form Media. It's okay for the admin, but not for user facing stuff.
author Brian Neal <bgneal@gmail.com>
date Sun, 06 Dec 2015 14:48:30 -0600
parents ee87ea74d46b
children 68c3343f3318
line wrap: on
line diff
--- a/gcalendar/forms.py	Sun Dec 06 13:22:09 2015 -0600
+++ b/gcalendar/forms.py	Sun Dec 06 14:48:30 2015 -0600
@@ -4,7 +4,6 @@
 import datetime
 import pytz
 from django import forms
-from django.conf import settings
 
 from gcalendar.models import Event
 
@@ -82,16 +81,6 @@
         fields = ('what', 'start_date', 'start_time', 'end_date', 'end_time',
             'all_day', 'time_zone', 'where', 'description', 'create_forum_thread')
 
-    class Media:
-        css = {
-            'all': (settings.GPP_THIRD_PARTY_CSS['markitup'] +
-                    settings.GPP_THIRD_PARTY_CSS['jquery-ui'] +
-                    ['css/gcalendar.css'])
-        }
-        js = (settings.GPP_THIRD_PARTY_JS['markitup'] +
-              settings.GPP_THIRD_PARTY_JS['jquery-ui'] +
-              ['js/timezone.js', 'js/gcalendar.js'])
-
     def __init__(self, *args, **kwargs):
         initial = kwargs.get('initial', {})
         instance = kwargs.get('instance', None)