from views import handler

from django.conf.urls import url

urlpatterns = (
    url(r'^handler$', handler, name='facebook-auth-handler'),
)

from facebook_auth.views import handler

from django.conf.urls import url

urlpatterns = (
    url(r'^handler$', handler, name='facebook-auth-handler'),
)

Fix python3 support.