tschellenbach/Django-facebook — pull request #245 by duduklein (2012-12-24 01:50:59+00:00)
Title: Verifying that request.facebook is not None besides existing

In get_facebook_graph function in the api.py file, you check if the request has a 'facebook' attribute and if it has, it assumes this is the graph and stop processing.

It happens that sometimes, this attribute exists, but it's None, not the actual graph, so we should also check if it's not None, besides its existence