Remove name, url and email from comment form
from django.shortcuts import render_to_response, get_object_or_404
from django.template import RequestContext
from django.contrib.auth.decorators import login_required
from django.utils.translation import ugettext as _
from django.views.generic.list import ListView

from core.models import Account as User
from django_comments.models import Comment
from news.models import Blob, BlobInstance
from .models import ThreadedComment

def single_comment(request, id):
    comment = get_object_or_404(ThreadedComment, id=id)
    variables = RequestContext(request, {'comment': comment})
    return render_to_response('comments/single.html', variables)

def comment_posted(request):
    if request.GET['c']:
        comment_id, blob_id = request.GET['c']
        comment = Comment.objects.get( pk=comment_id )
        blob = Blob.objects.get(pk=blob_id)

        if blob:
            return HttpResponseRedirect( blob.get_absolute_url() )

    return HttpResponseRedirect( "/" )

from django.shortcuts import render_to_response, get_object_or_404
from django.template import RequestContext
from django.contrib.auth.decorators import login_required
from django.utils.translation import ugettext as _
from django.views.generic.list import ListView

from core.models import Account as User
from django_comments.models import Comment
from news.models import Blob, BlobInstance
from .models import ThreadedComment

def single_comment(request, id):
    comment = get_object_or_404(ThreadedComment, id=id)
    variables = RequestContext(request, {'comment': comment})
    return render_to_response('comments/single.html', variables)

def comment_posted( request ):
    if request.GET['c']:
        comment_id, blob_id  = request.GET['c'].split( ':' )
        blob = Blob.objects.get( pk=blob_id )

        if post:
            return HttpResponseRedirect( blob.get_absolute_url() )

    return HttpResponseRedirect( "/" )
