fix + test api with resl client
This commit is contained in:
@@ -26,9 +26,9 @@ SECRET_KEY = 'django-insecure-=-1c582(r8ly33q+-ljg!xb2)#$+a0ykedc4zcj-dqh&i$4$l3
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = True
|
||||
|
||||
ALLOWED_HOSTS = ['localhost', '127.0.0.1', '*']
|
||||
ALLOWED_HOSTS = [ 'localhost', '127.0.0.1']
|
||||
|
||||
CSRF_TRUSTED_ORIGINS = [ 'https://*' ]
|
||||
CSRF_TRUSTED_ORIGINS = [ 'https://*', 'http://*' ]
|
||||
|
||||
|
||||
# Application definition
|
||||
@@ -44,6 +44,7 @@ INSTALLED_APPS = [
|
||||
# 'django.contrib.sites',
|
||||
'allauth',
|
||||
'allauth.account',
|
||||
'allauth.socialaccount',
|
||||
'django_htmx',
|
||||
|
||||
# My apps
|
||||
|
||||
Reference in New Issue
Block a user