os = Influence.objects.filter(character__player=request.user)
return render_to_response('influences/influence_list.html', {'object_list' : os}, RequestContext(request))
+def quote_reply(comment):
+ return "\n".join(["> " + l for l in comment.comment.split("\n")])
+
@login_required
def influence_detail(request, object_id):
- def quote_reply(comment):
- return "\n".join(["> " + l for l in comment.comment.split("\n")])
-
o = Influence.objects.get(pk=object_id)
# Don't show other player's influences
if (o.character.player != request.user):