diff downloads/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 a5ebc74dc3f3
line wrap: on
line diff
--- a/downloads/forms.py	Sun Dec 06 13:22:09 2015 -0600
+++ b/downloads/forms.py	Sun Dec 06 14:48:30 2015 -0600
@@ -4,7 +4,6 @@
 import os
 
 from django import forms
-from django.conf import settings
 
 from downloads.models import PendingDownload
 from downloads.models import AllowedExtension
@@ -28,11 +27,3 @@
     class Meta:
         model = PendingDownload
         fields = ('title', 'category', 'description', 'file')
-
-    class Media:
-        css = {
-            'all': (settings.GPP_THIRD_PARTY_CSS['markitup'] +
-                    settings.GPP_THIRD_PARTY_CSS['jquery-ui'])
-        }
-        js = (settings.GPP_THIRD_PARTY_JS['markitup'] +
-              settings.GPP_THIRD_PARTY_JS['jquery-ui'])