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