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

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

src/d/j/django-fukinbook-HEAD/django_fukinbook/views.py   django-fukinbook(Download)
from django.views.decorators.csrf import csrf_exempt
from graph_api import ExampleAPI, GraphAPI
from session import FacebookSession
from django.conf import settings
import utils
        if 'code' in request.GET:
            logging.debug('CODE FOUND')
            facebook_session = FacebookSession(request.GET['code'])
            user = auth.authenticate(facebook_session=facebook_session,
                                     django_session=request.session,

src/d/j/django-fukinbook-HEAD/django_fukinbook/models.py   django-fukinbook(Download)
from django.db import models
from django.contrib.auth.models import User
import datetime
import time
from session import FacebookSession