0.11.1 Google Auth
This commit is contained in:
@@ -19,8 +19,13 @@ def test_code(request):
|
|||||||
from RoutesApp.models import Route
|
from RoutesApp.models import Route
|
||||||
from ReferenceDataApp.models import Airport, City
|
from ReferenceDataApp.models import Airport, City
|
||||||
|
|
||||||
from RoutesApp.search_matches import search_matches
|
import allauth
|
||||||
search_matches()
|
from allauth.socialaccount.models import SocialApp
|
||||||
|
apps = SocialApp.objects.all()
|
||||||
|
apps.delete()
|
||||||
|
|
||||||
|
# from RoutesApp.search_matches import search_matches
|
||||||
|
# search_matches()
|
||||||
|
|
||||||
# try:
|
# try:
|
||||||
# # body = request.body
|
# # body = request.body
|
||||||
|
|||||||
@@ -75,6 +75,8 @@ INSTALLED_APPS = [
|
|||||||
'django.contrib.staticfiles',
|
'django.contrib.staticfiles',
|
||||||
'django.contrib.humanize',
|
'django.contrib.humanize',
|
||||||
|
|
||||||
|
'django.contrib.sites',
|
||||||
|
|
||||||
'colorfield',
|
'colorfield',
|
||||||
|
|
||||||
'ckeditor',
|
'ckeditor',
|
||||||
@@ -110,6 +112,8 @@ MIDDLEWARE = [
|
|||||||
"allauth.account.middleware.AccountMiddleware",
|
"allauth.account.middleware.AccountMiddleware",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
SITE_ID = 1
|
||||||
|
|
||||||
ROOT_URLCONF = 'TWB.urls'
|
ROOT_URLCONF = 'TWB.urls'
|
||||||
|
|
||||||
TEMPLATES = [
|
TEMPLATES = [
|
||||||
|
|||||||
Reference in New Issue
Block a user