Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9064923
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T16:22:35+00:00 2026-06-16T16:22:35+00:00

I am trying to setup Django-allauth in my project. I am running into this

  • 0

I am trying to setup Django-allauth in my project. I am running into this error and am unable to fix it.

Environment:

Request Method: GET Request URL: `http://localhost:8000/accounts/login/`

Django Version: 1.4.2 Python Version: 2.7.3 
Installed Applications:
('django.contrib.auth',  
'django.contrib.contenttypes', 
'django.contrib.sessions',  
'django.contrib.sites', 
'django.contrib.messages',  
'django.contrib.staticfiles',  
'core', 
'allauth',  
'allauth.account',  
'allauth.socialaccount', 
'allauth.socialaccount.providers.facebook', 
'allauth.socialaccount.providers.twitter',  
'django.contrib.admin', 
'django.contrib.admindocs') 

Installed Middleware:

('django.middleware.common.CommonMiddleware', 
'django.contrib.sessions.middleware.SessionMiddleware', 
'django.middleware.csrf.CsrfViewMiddleware', 
'django.contrib.auth.middleware.AuthenticationMiddleware', 
'django.contrib.messages.middleware.MessageMiddleware')


Template error: In template
/media/Dump/Sites/wtr/allauth/templates/socialaccount/snippets/login_extra.html,
error at line 3    No Facebook app configured: please add a SocialApp
using the Django admin    

       1 : {% load socialaccount %}
       2 : 
       3 :  {% providers_media_js %} 
       4 : 
       5 :

I actually configured a facebook app in Django Admin but can’t understand why it’s giving this exception.

 Exception Type: ImproperlyConfigured at /accounts/login/ Exception
 Value: No Facebook app configured: please add a SocialApp using the
 Django admin
  • I added allauth apps to the INSTALLED_APPLICATIONS
  • Added that TEMPLATE_CONTEXT_PROCESSORS setting
  • Edited the setting, AUTHENTICATION_BACKENDS
  • Added allauth urls in urls.py

Is this all that is required to be done or is there some more? If yes, could you please point me to the relevant docs?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T16:22:36+00:00Added an answer on June 16, 2026 at 4:22 pm

    The problem could be with your database. Think you need to synchronize the Database.

    DO

    python manage.py syncdb
    

    if that does not work, make sure the Site which you added your facebook app to has the domain localhost:8000 if you are using localhost or 127.0.0.1:8000 if you are using 127.0.0.1:8000

    For more information go through this allauth tutorial.

    UPDATE

    you could also try removing the example.com site from the admin and add a new site that uses localhost:8000 or 127.0.0.1:8000 and add the facebook social app under the new site. Also, do not forget to set the SITE_ID variable in your settings.py file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to get django-registration up and running on my newbie setup on
I am trying to get my Django project running on the production server. I
I'm trying to setup django on my vhost and got stuck on this error:
Trying to setup and get going with the RestKit library for a cocoa project
I am trying to setup Django-invitation with my django project. It will deploy on
I am trying to setup a Django project like explained on AlwaysData , but
I'm trying to setup a test Django project on Heroku. Following the advice here
I am trying to setup my project environment which uses the following: Python 2.5.2
I'm trying to follow the documentation to get started with celery, but running into
I'm trying to setup Solr 3.6.0 with Django-haystack Beta 2.0.0. After running ./manage.py build_solr_schema

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.