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