]> git.openstreetmap.org Git - osqa.git/blob - forum_modules/facebookauth/views.py
deleting the test file
[osqa.git] / forum_modules / facebookauth / views.py
1 from forum.models import AuthKeyUserAssociation\r
2 from django.http import HttpResponse\r
3 \r
4 def user_is_registered(request):\r
5     try:\r
6         fb_uid = request.POST['fb_uid']\r
7         print fb_uid\r
8         AuthKeyUserAssociation.objects.get(key=fb_uid)\r
9         return HttpResponse('yes')\r
10     except:\r
11         return HttpResponse('no')