0.11.1 Google Auth

This commit is contained in:
SDE
2024-01-13 17:05:57 +03:00
parent 2e1f3a10ab
commit f2e0628de1
2 changed files with 11 additions and 2 deletions

View File

@@ -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

View File

@@ -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 = [