Django-allauth Nie skonfigurowano aplikacji na Facebooku: dodaj SocialApp za pomocą administratora Django
Próbuję skonfigurowaćDjango-allauth w moim projekcie. Występuje ten błąd i nie mogę go naprawić.
Środowisko:
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')
Zainstalowane oprogramowanie pośrednie:
('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 :
Właściwie skonfigurowałem aplikację na Facebooku w Django Admin, ale nie mogę zrozumieć, dlaczego podaje ten wyjątek.
Exception Type: ImproperlyConfigured at /accounts/login/ Exception
Value: No Facebook app configured: please add a SocialApp using the
Django admin
Dodałem aplikacje allauth doINSTALLED_APPLICATIONS
Dodano toTEMPLATE_CONTEXT_PROCESSORS
oprawaZmieniono ustawienie,AUTHENTICATION_BACKENDS
Dodanyallauth
adresy URLurls.py
Czy to wszystko, co trzeba zrobić, czy jest ich więcej? Jeśli tak, czy mógłbyś wskazać mi odpowiednie dokumenty?