diff gpp/smiley/views.py @ 123:3ae999b0c53b

Forums: added a jquery ui dialog of extra smileys.
author Brian Neal <bgneal@gmail.com>
date Sun, 08 Nov 2009 21:15:31 +0000
parents f408971657b9
children
line wrap: on
line diff
--- a/gpp/smiley/views.py	Tue Oct 27 02:56:16 2009 +0000
+++ b/gpp/smiley/views.py	Sun Nov 08 21:15:31 2009 +0000
@@ -10,10 +10,9 @@
 
 @login_required
 @require_GET
-def farm(request):
+def farm(request, extra=False):
     return render_to_response('smiley/smiley_farm.html', {
-        'smilies': Smiley.objects.get_smilies(),
+        'smilies': Smiley.objects.get_smilies(extra),
         },
         context_instance = RequestContext(request))
 
-# vim: ts=4 sw=4