comparison 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
comparison
equal deleted inserted replaced
122:b28d30848c57 123:3ae999b0c53b
8 8
9 from smiley.models import Smiley 9 from smiley.models import Smiley
10 10
11 @login_required 11 @login_required
12 @require_GET 12 @require_GET
13 def farm(request): 13 def farm(request, extra=False):
14 return render_to_response('smiley/smiley_farm.html', { 14 return render_to_response('smiley/smiley_farm.html', {
15 'smilies': Smiley.objects.get_smilies(), 15 'smilies': Smiley.objects.get_smilies(extra),
16 }, 16 },
17 context_instance = RequestContext(request)) 17 context_instance = RequestContext(request))
18 18
19 # vim: ts=4 sw=4