diff gpp/forums/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 3b30286adba5
children
line wrap: on
line diff
--- a/gpp/forums/forms.py	Sat Oct 15 22:04:18 2011 +0000
+++ b/gpp/forums/forms.py	Tue Oct 18 00:04:37 2011 +0000
@@ -28,7 +28,7 @@
         }
         js = (settings.GPP_THIRD_PARTY_JS['markitup'] +
                 settings.GPP_THIRD_PARTY_JS['jquery-ui'] +
-                ('js/forums.js', ))
+                ['js/forums.js'])
 
     def __init__(self, *args, **kwargs):
         super(NewPostForm, self).__init__(*args, **kwargs)
@@ -82,7 +82,7 @@
         }
         js = (settings.GPP_THIRD_PARTY_JS['markitup'] +
                 settings.GPP_THIRD_PARTY_JS['jquery-ui'] +
-                ('js/forums.js', ))
+                ['js/forums.js'])
 
     def __init__(self, user, forum, *args, **kwargs):
         super(NewTopicForm, self).__init__(*args, **kwargs)
@@ -159,7 +159,7 @@
         }
         js = (settings.GPP_THIRD_PARTY_JS['markitup'] +
                 settings.GPP_THIRD_PARTY_JS['jquery-ui'] +
-                ('js/forums.js', ))
+                ['js/forums.js'])
 
     def __init__(self, *args, **kwargs):
         topic_name = kwargs.pop('topic_name', None)