Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/b/o/boar-HEAD/boar/facebook_connect/middleware.py   boar(Download)
		    if request.user.is_authenticated():
		        try:
		            fbp = FacebookProfile.objects.get(user=request.user)
		        except FacebookProfile.DoesNotExist:
		            # Logged into facebook, but logged into site with no 
		            return
		        try:
		            fbp = FacebookProfile.objects.get(uid=fb_user['uid'])
		        except FacebookProfile.DoesNotExist:
		            # Logged into facebook, but no user exists on the site
		    if request.user.is_authenticated():
		        try:
		            fbp = FacebookProfile.objects.get(user=request.user)
		        except FacebookProfile.DoesNotExist:
		            pass