1 from forum.models import AuthKeyUserAssociation
2 from django.http import HttpResponse
4 def user_is_registered(request):
6 fb_uid = request.POST['fb_uid']
8 AuthKeyUserAssociation.objects.get(key=fb_uid)
9 return HttpResponse('yes')
11 return HttpResponse('no')