weird issue when adding custom set

This commit is contained in:
Sanj 2011-11-08 09:10:14 +05:30
parent 44c5c0521a
commit 9d777ac54a

View File

@ -8,7 +8,9 @@ from django.template.context import RequestContext
from django.shortcuts import render_to_response
from markitup.markup import filter_func
from django.views.decorators.csrf import csrf_exempt
@csrf_exempt
def apply_filter(request):
markup = filter_func(request.POST.get('data', ''))
return render_to_response( 'markitup/preview.html',