I'm using django-allauth, and I configured localhost:9000/admin/  with the following details:
socialapp .
provider:
Name:
Client id:
App ID, or consumer key
Key:
Secret:  etc .
I set SITE_ID = 2 (because I changed the default site example.com to localhost:9000)
In settings.py:
   INSTALLED_APPS = (
        'django.contrib.auth',
        'django.contrib.contenttypes',
        'django.contrib.sessions',
        'django.contrib.sites',
        'django.contrib.messages',
        'django.contrib.staticfiles',
        'django.contrib.admin',
        'uni_form',
        'allauth',
        'allauth.account',
        'allauth.socialaccount',
        'bootstrapform',
        # 'allauth.socialaccount.providers.twitter',
        # 'allauth.socialaccount.providers.openid',
         'allauth.socialaccount.providers.facebook',
    )
    SOCIALACCOUNT_PROVIDERS = \
        { 'facebook':
            { 'SCOPE': ['email', 'publish_stream'],
              'AUTH_PARAMS': { 'auth_type': 'reauthenticate' },
              'METHOD': 'oauth2' ,
              'LOCALE_FUNC': 'path.to.callable'} }
When I go to:
http://localhost:9000/accounts/facebook/login
I get:
Error :  `SocialApp matching query does not exist.
What am I doing wrong?
 
     
     
    


 
     
    
 
     
     
     
     
    