fix + test api with resl client

This commit is contained in:
2025-02-06 15:10:51 +01:00
parent 2d172a3620
commit 861a0e58e5
20 changed files with 376 additions and 254 deletions

View File

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