Hi I need to refresh my custom template tag --right_side.py-- via Ajax. Is there a way to import the template tag in the view and return it as HttpResponse because I don\'t
You could create a template just containing your templatetag and nothing else. Then you would have in right_side.html:
{%load cems_templatetags%} {%right_side%}
and in the view something like:
if request.isAjax(): return render_to_response('right_side.html',RequestContext(request))